summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjussi2022-03-31 13:55:02 +0300
committerjussi2022-03-31 13:55:02 +0300
commit30d425aa26a3aa802cb2ff55f1f7655be056f3ed (patch)
tree5d6e0e9a0d6c14df15f3e1ac8ab143dd9a8452c4 /include
parenta3c28c00016fb2a2bd13b36e7269c69b0529c6a4 (diff)
downloadreilua-enhanced-30d425aa26a3aa802cb2ff55f1f7655be056f3ed.tar.gz
reilua-enhanced-30d425aa26a3aa802cb2ff55f1f7655be056f3ed.tar.bz2
reilua-enhanced-30d425aa26a3aa802cb2ff55f1f7655be056f3ed.zip
Screen-space related functions for 3DCamera.
Diffstat (limited to 'include')
-rw-r--r--include/core.h4
-rw-r--r--include/lua_core.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/include/core.h b/include/core.h
index c443542..1f0691c 100644
--- a/include/core.h
+++ b/include/core.h
@@ -128,3 +128,7 @@ int lcoreGetGestureDragVector( lua_State *L );
int lcoreGetGestureDragAngle( lua_State *L );
int lcoreGetGesturePinchVector( lua_State *L );
int lcoreGetGesturePinchAngle( lua_State *L );
+/* Screen-space. */
+int lcoreGetMouseRay( lua_State *L );
+int lcoreGetCameraMatrix( lua_State *L );
+int lcoreGetWorldToScreen( lua_State *L );
diff --git a/include/lua_core.h b/include/lua_core.h
index 694b94d..335ee49 100644
--- a/include/lua_core.h
+++ b/include/lua_core.h
@@ -24,6 +24,7 @@ void uluaPushVector3( lua_State *L, Vector3 vector );
void uluaPushVector4( lua_State *L, Vector4 vector );
void uluaPushRectangle( lua_State *L, Rectangle rect );
void uluaPushMatrix( lua_State *L, Matrix matrix );
+void uluaPushRay( lua_State *L, Ray ray );
void uluaPushRayCollision( lua_State *L, RayCollision rayCol );
int uluaGetTableLen( lua_State *L );