From fc584bf011cd6d2e1ceb1c2b66257f21d5e66ddd Mon Sep 17 00:00:00 2001 From: Israel Jacquez Date: Tue, 14 Nov 2023 13:58:55 -0800 Subject: [PATCH] Update documentation --- html/group__MIC3D__INIT__CONFIG.html | 40 ++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/html/group__MIC3D__INIT__CONFIG.html b/html/group__MIC3D__INIT__CONFIG.html index 365f7e21..13caff3c 100644 --- a/html/group__MIC3D__INIT__CONFIG.html +++ b/html/group__MIC3D__INIT__CONFIG.html @@ -141,8 +141,44 @@

Initialize Mic3D.

-

Not yet documented.

-
Parameters
+

Not yet documented. Not idempotent.

+

Below is an example of how to initialize Mic3D:

+
static workarea_mic3d_z_values_t _pool_z_values;
+
static workarea_mic3d_screen_points_t _pool_screen_points;
+
static workarea_mic3d_sort_singles_t _pool_sort_singles;
+
static workarea_mic3d_cmdts_t _pool_cmdts;
+
static workarea_mic3d_render_matrices_t _pool_render_matrices;
+
static workarea_mic3d_light_matrices_t _pool_light_matrices;
+
static workarea_mic3d_colors_t _pool_colors;
+
static workarea_mic3d_work_t _pool_work;
+
+
static const workarea_mic3d_t _workarea = {
+
&_pool_depth_values,
+
&_pool_z_values,
+
&_pool_screen_points,
+
&_pool_sort_singles,
+
&_pool_cmdts,
+
&_pool_render_matrices,
+
&_pool_light_matrices,
+
&_pool_colors,
+
&_pool_work
+
};
+
+
// ...
+
mic3d_init(&_workarea);
+
// ...
+
void mic3d_init(workarea_mic3d_t *workarea)
Initialize Mic3D.
+
Work area defined, needed for library.
Definition: workarea.h:118
+
Not yet documented.
+
Not yet documented.
+
Not yet documented.
+ + +
Not yet documented.
+
Not yet documented.
+
Not yet documented.
+
Not yet documented.
+
Parameters
workarea