summaryrefslogtreecommitdiff
path: root/include/core.h
diff options
context:
space:
mode:
authorjussi2022-05-04 17:21:49 +0300
committerjussi2022-05-04 17:21:49 +0300
commited4636fa812e64c5391ee9f408092990f33277b4 (patch)
tree9ea8054c54c5dd2d9da449f401d3c064a3b6114a /include/core.h
parent6f4aceeb4c9793ff8b86cbae99d5475b987af9eb (diff)
downloadreilua-enhanced-ed4636fa812e64c5391ee9f408092990f33277b4.tar.gz
reilua-enhanced-ed4636fa812e64c5391ee9f408092990f33277b4.tar.bz2
reilua-enhanced-ed4636fa812e64c5391ee9f408092990f33277b4.zip
Camera2D.
Diffstat (limited to 'include/core.h')
-rw-r--r--include/core.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/include/core.h b/include/core.h
index 8cb2977..0b03de8 100644
--- a/include/core.h
+++ b/include/core.h
@@ -82,7 +82,20 @@ int lcoreGetPrevDirectoryPath( lua_State *L );
int lcoreGetWorkingDirectory( lua_State *L );
int lcoreGetDirectoryFiles( lua_State *L );
int lcoreGetFileModTime( lua_State *L );
-/* Camera. */
+/* Camera2D. */
+int lcoreCreateCamera2D( lua_State *L );
+int lcoreUnloadCamera2D( lua_State *L );
+int lcoreBeginMode2D( lua_State *L );
+int lcoreEndMode2D( lua_State *L );
+int lcoreSetCamera2DTarget( lua_State *L );
+int lcoreSetCamera2DOffset( lua_State *L );
+int lcoreSetCamera2DRotation( lua_State *L );
+int lcoreSetCamera2DZoom( lua_State *L );
+int lcoreGetCamera2DTarget( lua_State *L );
+int lcoreGetCamera2DOffset( lua_State *L );
+int lcoreGetCamera2DRotation( lua_State *L );
+int lcoreGetCamera2DZoom( lua_State *L );
+/* Camera3D. */
int lcoreCreateCamera3D( lua_State *L );
int lcoreUnloadCamera3D( lua_State *L );
int lcoreBeginMode3D( lua_State *L );
@@ -134,4 +147,8 @@ int lcoreGetGesturePinchAngle( lua_State *L );
/* Screen-space. */
int lcoreGetMouseRay( lua_State *L );
int lcoreGetCameraMatrix( lua_State *L );
+int lcoreGetCameraMatrix2D( lua_State *L );
int lcoreGetWorldToScreen( lua_State *L );
+int lcoreGetWorldToScreenEx( lua_State *L );
+int lcoreGetWorldToScreen2D( lua_State *L );
+int lcoreGetScreenToWorld2D( lua_State *L );