File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11! truck.f90
22!
3- ! Example program that rotates a 3-D model loaded from file.
3+ ! Example program that rotates a 3-D model loaded from file. Enables VSync and
4+ ! MSAA4.
5+ !
46! Model (CC0) source: https://kenney.nl/assets/car-kit
57!
68! Author: Philipp Engel
79! Licence: ISC
810program main
911 use , intrinsic :: iso_c_binding
1012 use :: raylib
11- use :: raylib_math
1213 implicit none (type, external )
1314
1415 integer , parameter :: SCREEN_WIDTH = 800
@@ -21,8 +22,8 @@ program main
2122 type (vector3_type) :: rotation
2223 type (vector3_type) :: scale
2324
25+ call set_config_flags(ior (FLAG_VSYNC_HINT, FLAG_MSAA_4X_HINT))
2426 call init_window(SCREEN_WIDTH, SCREEN_HEIGHT, ' Fortran + raylib' // c_null_char)
25- call set_target_fps(60 )
2627 call disable_cursor()
2728
2829 ! Define camera to look into our 3-D world.
You can’t perform that action at this time.
0 commit comments