summaryrefslogtreecommitdiff
path: root/apps/graphics/traveler/include/trv_plane.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-12-05 11:24:10 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-12-05 11:24:10 -0600
commit6805d79e0e3b9db70c88d0ccae4d2446159b4009 (patch)
tree502652ad9515bf57be9fe8625b8492db6e6357bb /apps/graphics/traveler/include/trv_plane.h
parent94809c57e5ec9a9441df03014857b737b4b02bda (diff)
downloadnuttx-6805d79e0e3b9db70c88d0ccae4d2446159b4009.tar.gz
nuttx-6805d79e0e3b9db70c88d0ccae4d2446159b4009.tar.bz2
nuttx-6805d79e0e3b9db70c88d0ccae4d2446159b4009.zip
Add second of several ray cast/rendering files
Diffstat (limited to 'apps/graphics/traveler/include/trv_plane.h')
-rw-r--r--apps/graphics/traveler/include/trv_plane.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/graphics/traveler/include/trv_plane.h b/apps/graphics/traveler/include/trv_plane.h
index 60da752d7..b6f718bf9 100644
--- a/apps/graphics/traveler/include/trv_plane.h
+++ b/apps/graphics/traveler/include/trv_plane.h
@@ -119,6 +119,22 @@ struct trv_planefile_header_s
#define SIZEOF_TRVPLANEFILEHEADER_T 6
/****************************************************************************
+ * Public Data
+ ****************************************************************************/
+
+/* The is the world!!! The world is described by lists of rectangles, one
+ * for each of the X, Y, and Z planes.
+ */
+
+extern struct trv_rect_head_s g_xplane; /* list of X=plane rectangles */
+extern struct trv_rect_head_s g_yplane; /* list of Y=plane rectangles */
+extern struct trv_rect_head_s g_zplane; /* list of Z=plane rectangles */
+
+/* "Deallocated" planes are retained in a free list */
+
+extern struct trv_rect_list_s *g_rect_freelist;
+
+/****************************************************************************
* Public Function Prototypes
****************************************************************************/