summaryrefslogtreecommitdiffhomepage
path: root/examples/src/models/models_yaw_pitch_roll.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/src/models/models_yaw_pitch_roll.c')
-rw-r--r--examples/src/models/models_yaw_pitch_roll.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/examples/src/models/models_yaw_pitch_roll.c b/examples/src/models/models_yaw_pitch_roll.c
index 658be08..0931c00 100644
--- a/examples/src/models/models_yaw_pitch_roll.c
+++ b/examples/src/models/models_yaw_pitch_roll.c
@@ -17,10 +17,7 @@
// Draw angle gauge controls
void DrawAngleGauge(Texture2D angleGauge, int x, int y, float angle, char title[], Color color);
-//----------------------------------------------------------------------------------
-// Main entry point
-//----------------------------------------------------------------------------------
-int main()
+int main(void)
{
// Initialization
//--------------------------------------------------------------------------------------
@@ -53,10 +50,10 @@ int main()
float roll = 0.0f;
float yaw = 0.0f;
- SetTargetFPS(60);
+ SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------
-
+ // Main game loop
while (!WindowShouldClose()) // Detect window close button or ESC key
{
// Update