summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorJeffery Myers <[email protected]>2023-02-15 08:17:00 -0800
committerGitHub <[email protected]>2023-02-15 17:17:00 +0100
commit9eaed07b77bd6c9004175c9a641a573671cadb29 (patch)
tree0f37fbddb348fb2ad12937ed53090e5ab3fb1193 /examples
parentbeb44f1dacce8aef0df3740e341582ca79e040e1 (diff)
downloadraylib-9eaed07b77bd6c9004175c9a641a573671cadb29.tar.gz
raylib-9eaed07b77bd6c9004175c9a641a573671cadb29.zip
Make the oribital camera work like it used to (it is not just a copy of third person) (#2926)
Diffstat (limited to 'examples')
-rw-r--r--examples/models/models_billboard.c2
-rw-r--r--examples/models/models_cubicmap.c2
-rw-r--r--examples/models/models_heightmap.c2
-rw-r--r--examples/models/models_loading_vox.c2
-rw-r--r--examples/models/models_mesh_generation.c2
-rw-r--r--examples/models/models_rlgl_solar_system.c2
-rw-r--r--examples/shaders/shaders_basic_lighting.c1
-rw-r--r--examples/shaders/shaders_fog.c1
-rw-r--r--examples/shaders/shaders_hybrid_render.c1
-rw-r--r--examples/shaders/shaders_mesh_instancing.c1
-rw-r--r--examples/shaders/shaders_postprocessing.c1
-rw-r--r--examples/shaders/shaders_write_depth.c1
12 files changed, 0 insertions, 18 deletions
diff --git a/examples/models/models_billboard.c b/examples/models/models_billboard.c
index 596a09d3..9b02a8af 100644
--- a/examples/models/models_billboard.c
+++ b/examples/models/models_billboard.c
@@ -55,8 +55,6 @@ int main(void)
float distanceRotating;
float rotation = 0.0f;
- DisableCursor(); // Limit cursor to relative movement inside the window
-
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------
diff --git a/examples/models/models_cubicmap.c b/examples/models/models_cubicmap.c
index 714918e4..e0a2b308 100644
--- a/examples/models/models_cubicmap.c
+++ b/examples/models/models_cubicmap.c
@@ -47,8 +47,6 @@ int main(void)
UnloadImage(image); // Unload cubesmap image from RAM, already uploaded to VRAM
- DisableCursor(); // Limit cursor to relative movement inside the window
-
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------
diff --git a/examples/models/models_heightmap.c b/examples/models/models_heightmap.c
index 8f32de9f..e1c3e4fb 100644
--- a/examples/models/models_heightmap.c
+++ b/examples/models/models_heightmap.c
@@ -44,8 +44,6 @@ int main(void)
UnloadImage(image); // Unload heightmap image from RAM, already uploaded to VRAM
- DisableCursor(); // Limit cursor to relative movement inside the window
-
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------
diff --git a/examples/models/models_loading_vox.c b/examples/models/models_loading_vox.c
index d17fd6ee..e148fd91 100644
--- a/examples/models/models_loading_vox.c
+++ b/examples/models/models_loading_vox.c
@@ -69,8 +69,6 @@ int main(void)
int currentModel = 0;
- DisableCursor(); // Limit cursor to relative movement inside the window
-
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------
diff --git a/examples/models/models_mesh_generation.c b/examples/models/models_mesh_generation.c
index 6189fb46..d17a20a1 100644
--- a/examples/models/models_mesh_generation.c
+++ b/examples/models/models_mesh_generation.c
@@ -68,8 +68,6 @@ int main(void)
int currentModel = 0;
- DisableCursor(); // Limit cursor to relative movement inside the window
-
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------
diff --git a/examples/models/models_rlgl_solar_system.c b/examples/models/models_rlgl_solar_system.c
index fc2a1f02..e458036f 100644
--- a/examples/models/models_rlgl_solar_system.c
+++ b/examples/models/models_rlgl_solar_system.c
@@ -56,8 +56,6 @@ int main(void)
float moonRotation = 0.0f; // Rotation of moon around itself
float moonOrbitRotation = 0.0f; // Rotation of moon around earth in degrees
- DisableCursor(); // Limit cursor to relative movement inside the window
-
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------
diff --git a/examples/shaders/shaders_basic_lighting.c b/examples/shaders/shaders_basic_lighting.c
index 49dc1e7d..61cec2e8 100644
--- a/examples/shaders/shaders_basic_lighting.c
+++ b/examples/shaders/shaders_basic_lighting.c
@@ -80,7 +80,6 @@ int main(void)
lights[2] = CreateLight(LIGHT_POINT, (Vector3){ -2, 1, 2 }, Vector3Zero(), GREEN, shader);
lights[3] = CreateLight(LIGHT_POINT, (Vector3){ 2, 1, -2 }, Vector3Zero(), BLUE, shader);
- DisableCursor(); // Limit cursor to relative movement inside the window
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------
diff --git a/examples/shaders/shaders_fog.c b/examples/shaders/shaders_fog.c
index ddd721d4..24a1c106 100644
--- a/examples/shaders/shaders_fog.c
+++ b/examples/shaders/shaders_fog.c
@@ -85,7 +85,6 @@ int main(void)
// Using just 1 point lights
CreateLight(LIGHT_POINT, (Vector3){ 0, 2, 6 }, Vector3Zero(), WHITE, shader);
- DisableCursor(); // Limit cursor to relative movement inside the window
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------
diff --git a/examples/shaders/shaders_hybrid_render.c b/examples/shaders/shaders_hybrid_render.c
index 0f30680c..f07917fb 100644
--- a/examples/shaders/shaders_hybrid_render.c
+++ b/examples/shaders/shaders_hybrid_render.c
@@ -86,7 +86,6 @@ int main(void)
// Camera FOV is pre-calculated in the camera Distance.
double camDist = 1.0/(tan(camera.fovy*0.5*DEG2RAD));
- DisableCursor(); // Limit cursor to relative movement inside the window
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------
diff --git a/examples/shaders/shaders_mesh_instancing.c b/examples/shaders/shaders_mesh_instancing.c
index 02a7ee8f..7789f2cb 100644
--- a/examples/shaders/shaders_mesh_instancing.c
+++ b/examples/shaders/shaders_mesh_instancing.c
@@ -94,7 +94,6 @@ int main(void)
Material matDefault = LoadMaterialDefault();
matDefault.maps[MATERIAL_MAP_DIFFUSE].color = BLUE;
- DisableCursor(); // Limit cursor to relative movement inside the window
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------
diff --git a/examples/shaders/shaders_postprocessing.c b/examples/shaders/shaders_postprocessing.c
index 991e9839..7f6bd009 100644
--- a/examples/shaders/shaders_postprocessing.c
+++ b/examples/shaders/shaders_postprocessing.c
@@ -112,7 +112,6 @@ int main(void)
// Create a RenderTexture2D to be used for render to texture
RenderTexture2D target = LoadRenderTexture(screenWidth, screenHeight);
- DisableCursor(); // Limit cursor to relative movement inside the window
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------
diff --git a/examples/shaders/shaders_write_depth.c b/examples/shaders/shaders_write_depth.c
index b7f69ddb..048e297a 100644
--- a/examples/shaders/shaders_write_depth.c
+++ b/examples/shaders/shaders_write_depth.c
@@ -59,7 +59,6 @@ int main(void)
.projection = CAMERA_PERSPECTIVE // Camera projection type
};
- DisableCursor(); // Limit cursor to relative movement inside the window
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------