summaryrefslogtreecommitdiff
path: root/apps/graphics/traveler/include/trv_rayavoid.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-12-04 14:22:10 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-12-04 14:22:10 -0600
commit86e5c3a5b0792e9234f98e4aeb1c0721b56352b2 (patch)
tree8dc97f0a333298aef27f5d0f9393d9aefaba1aac /apps/graphics/traveler/include/trv_rayavoid.h
parente29f159be33872667d4863f685c324cb3034d7dd (diff)
downloadnuttx-86e5c3a5b0792e9234f98e4aeb1c0721b56352b2.tar.gz
nuttx-86e5c3a5b0792e9234f98e4aeb1c0721b56352b2.tar.bz2
nuttx-86e5c3a5b0792e9234f98e4aeb1c0721b56352b2.zip
Add door animation logic
Diffstat (limited to 'apps/graphics/traveler/include/trv_rayavoid.h')
-rw-r--r--apps/graphics/traveler/include/trv_rayavoid.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/apps/graphics/traveler/include/trv_rayavoid.h b/apps/graphics/traveler/include/trv_rayavoid.h
index 8778ed7de..7993cd111 100644
--- a/apps/graphics/traveler/include/trv_rayavoid.h
+++ b/apps/graphics/traveler/include/trv_rayavoid.h
@@ -55,13 +55,19 @@
* Public Function Prototypes
****************************************************************************/
-extern trv_coord_t trv_rayclip_player_xmotion(FAR struct trv_camera_s *pov,
- trv_coord_t dist, int16_t yaw,
- trv_coord_t height);
-extern trv_coord_t trv_rayclip_player_ymotion(FAR struct trv_camera_s *pov,
- trv_coord_t dist, int16_t yaw,
- trv_coord_t height);
-extern trv_coord_t trv_ray_adjust_zpos(FAR struct trv_camera_s *pov,
+trv_coord_t trv_rayclip_player_xmotion(FAR struct trv_camera_s *pov,
+ trv_coord_t dist, int16_t yaw,
trv_coord_t height);
+trv_coord_t trv_rayclip_player_ymotion(FAR struct trv_camera_s *pov,
+ trv_coord_t dist, int16_t yaw,
+ trv_coord_t height);
+trv_coord_t trv_ray_adjust_zpos(FAR struct trv_camera_s *pov,
+ trv_coord_t height);
+FAR struct trv_rect_data_s *trv_test_xplane(FAR struct trv_camera_s *pov,
+ trv_coord_t dist, int16_t yaw,
+ trv_coord_t height);
+FAR struct trv_rect_data_s *trv_test_yplane(FAR struct trv_camera_s *pov,
+ trv_coord_t dist, int16_t yaw,
+ trv_coord_t height);
#endif /* __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_RAYAVOID_H */