summaryrefslogtreecommitdiff
path: root/src/lua_core.c
diff options
context:
space:
mode:
authorjussi2023-04-10 23:52:13 +0300
committerjussi2023-04-10 23:52:13 +0300
commit3445d935d66969a7eec97e8691b68496dc51af0b (patch)
treeab9678193bd3e896c50ef80965f7e906b141cedd /src/lua_core.c
parent6938cdbaede7eb63b9bc2adb9e0a93e243e291ee (diff)
downloadreilua-enhanced-3445d935d66969a7eec97e8691b68496dc51af0b.tar.gz
reilua-enhanced-3445d935d66969a7eec97e8691b68496dc51af0b.tar.bz2
reilua-enhanced-3445d935d66969a7eec97e8691b68496dc51af0b.zip
Camera3D lib. New camera3D functions.
Diffstat (limited to 'src/lua_core.c')
-rw-r--r--src/lua_core.c17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/lua_core.c b/src/lua_core.c
index ea0851b..dae916e 100644
--- a/src/lua_core.c
+++ b/src/lua_core.c
@@ -814,13 +814,20 @@ void luaRegister() {
assingGlobalFunction( "GetCamera3DUp", lcoreGetCamera3DUp );
assingGlobalFunction( "GetCamera3DFovy", lcoreGetCamera3DFovy );
assingGlobalFunction( "GetCamera3DProjection", lcoreGetCamera3DProjection );
+ assingGlobalFunction( "GetCamera3DForward", lcoreGetCamera3DForward );
+ assingGlobalFunction( "GetCamera3DUpNormalized", lcoreGetCamera3DUpNormalized );
+ assingGlobalFunction( "GetCamera3DRight", lcoreGetCamera3DRight );
+ assingGlobalFunction( "Camera3DMoveForward", lcoreCamera3DMoveForward );
+ assingGlobalFunction( "Camera3DMoveUp", lcoreCamera3DMoveUp );
+ assingGlobalFunction( "Camera3DMoveRight", lcoreCamera3DMoveRight );
+ assingGlobalFunction( "Camera3DMoveToTarget", lcoreCamera3DMoveToTarget );
+ assingGlobalFunction( "Camera3DYaw", lcoreCamera3DYaw );
+ assingGlobalFunction( "Camera3DPitch", lcoreCamera3DPitch );
+ assingGlobalFunction( "Camera3DRoll", lcoreCamera3DRoll );
+ assingGlobalFunction( "GetCamera3DViewMatrix", lcoreGetCamera3DViewMatrix );
+ assingGlobalFunction( "GetCamera3DProjectionMatrix", lcoreGetCamera3DProjectionMatrix );
assingGlobalFunction( "UpdateCamera3D", lcoreUpdateCamera3D );
assingGlobalFunction( "UpdateCamera3DPro", lcoreUpdateCamera3DPro );
- // assingGlobalFunction( "SetCameraMode", lcoreSetCameraMode );
- // assingGlobalFunction( "SetCameraPanControl", lcoreSetCameraPanControl );
- // assingGlobalFunction( "SetCameraAltControl", lcoreSetCameraAltControl );
- // assingGlobalFunction( "SetCameraSmoothZoomControl", lcoreSetCameraSmoothZoomControl );
- // assingGlobalFunction( "SetCameraMoveControls", lcoreSetCameraMoveControls );
/* Input-related Keyboard. */
assingGlobalFunction( "IsKeyPressed", lcoreIsKeyPressed );
assingGlobalFunction( "IsKeyDown", lcoreIsKeyDown );