From c6828070dccb05d5d568d5f796e4a4760b45b8c5 Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 26 Mar 2021 00:11:48 +0100 Subject: [PATCH] Update models_yaw_pitch_roll.c --- examples/models/models_yaw_pitch_roll.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/models/models_yaw_pitch_roll.c b/examples/models/models_yaw_pitch_roll.c index d37b148d..77419fbd 100644 --- a/examples/models/models_yaw_pitch_roll.c +++ b/examples/models/models_yaw_pitch_roll.c @@ -21,6 +21,7 @@ int main(void) const int screenWidth = 800; const int screenHeight = 450; + //SetConfigFlags(FLAG_MSAA_4X_HINT | FLAG_WINDOW_HIGHDPI); InitWindow(screenWidth, screenHeight, "raylib [models] example - plane rotations (yaw, pitch, roll)"); Camera camera = { 0 }; @@ -74,7 +75,7 @@ int main(void) } // Tranformation matrix for rotations - model.transform = MatrixRotateXYZ((Vector3){DEG2RAD*pitch,DEG2RAD*yaw,DEG2RAD*roll}); + model.transform = MatrixRotateXYZ((Vector3){ DEG2RAD*pitch, DEG2RAD*yaw, DEG2RAD*roll }); //----------------------------------------------------------------------------------