diff options
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 ); |
