We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4595256 commit 5768024Copy full SHA for 5768024
2 files changed
src/raylib_game
-8 Bytes
src/raylib_game.c
@@ -65,7 +65,7 @@ static RenderTexture2D target = {0}; // Render texture to render our game
65
static const Vector3 cameraNeckStart = (Vector3){0.f, 3.f, 6.f};
66
67
static GameState activeState = GAME_MENU;
68
-static Vector3 cameraNeck = cameraNeckStart;
+static Vector3 cameraNeck = (Vector3){0.f, 0.f, 0.f};
69
static float clockStartRate = 0.8f;
70
static int score = 0;
71
@@ -122,6 +122,7 @@ int main(void)
122
Vector3 start = (Vector3){0.f, 0.f, 2.f};
123
Vector3 forward = (Vector3){0.f, 0.f, -1.f};
124
125
+ cameraNeck = cameraNeckStart;
126
Camera3D camera = {0};
127
camera.position = cameraNeck;
128
camera.target = start;
0 commit comments