summaryrefslogtreecommitdiff
path: root/apps/graphics/traveler/include/trv_raycntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/graphics/traveler/include/trv_raycntl.h')
-rw-r--r--apps/graphics/traveler/include/trv_raycntl.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/graphics/traveler/include/trv_raycntl.h b/apps/graphics/traveler/include/trv_raycntl.h
index ffcf2b6d3..47bc6bf54 100644
--- a/apps/graphics/traveler/include/trv_raycntl.h
+++ b/apps/graphics/traveler/include/trv_raycntl.h
@@ -41,12 +41,16 @@
****************************************************************************/
#include "trv_types.h"
-#include "trv_graphics.h"
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
+/* This is the size of the buffer supported by the ray caster */
+
+#define TRV_SCREEN_WIDTH 320
+#define TRV_SCREEN_HEIGHT 200
+
/****************************************************************************
* Public Types
****************************************************************************/
@@ -55,6 +59,9 @@
* Public Function Prototypes
****************************************************************************/
+struct trv_camera_s;
+struct trv_graphics_info_s;
+
void trv_raycaster(FAR struct trv_camera_s *player,
FAR struct trv_graphics_info_s *ginfo);