diff options
| author | jussi | 2022-03-31 13:55:02 +0300 |
|---|---|---|
| committer | jussi | 2022-03-31 13:55:02 +0300 |
| commit | 30d425aa26a3aa802cb2ff55f1f7655be056f3ed (patch) | |
| tree | 5d6e0e9a0d6c14df15f3e1ac8ab143dd9a8452c4 /include | |
| parent | a3c28c00016fb2a2bd13b36e7269c69b0529c6a4 (diff) | |
| download | reilua-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.h | 4 | ||||
| -rw-r--r-- | include/lua_core.h | 1 |
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 ); |
