diff options
| author | Ray <[email protected]> | 2021-03-26 00:11:48 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-03-26 00:11:48 +0100 |
| commit | c6828070dccb05d5d568d5f796e4a4760b45b8c5 (patch) | |
| tree | e08823e32fc2285e1f480f30fd66bc59a5050fbb /examples | |
| parent | fb9a437f8aa650c8b7903e1f22a199725b49b006 (diff) | |
| download | raylib-c6828070dccb05d5d568d5f796e4a4760b45b8c5.tar.gz raylib-c6828070dccb05d5d568d5f796e4a4760b45b8c5.zip | |
Update models_yaw_pitch_roll.c
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/models/models_yaw_pitch_roll.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 }); //---------------------------------------------------------------------------------- |
