Tetra v0.5.6 Release Notes
Release Date: 2020-12-20 // over 3 years ago-
โ Added
graphics::get_front_face_winding
andgraphics::set_front_face_winding
have been added, allowing the winding order of geometry to be changed.- This is useful if you are working with a library that only outputs clockwise-ordered data (e.g. ImGUI).
- ๐พ
ContextBuilder::screen_saver_enabled
,window::set_screen_saver_enabled
andwindow::is_screen_saver_enabled
have been added, allowing you to control whether the user's screensaver can activate while playing your game. (@sumibi-yakitori in #216)
๐ Changed
- Backface culling has been re-enabled, as the winding order of geometry can now be overridden.
- The game loop now calls
std::thread::sleep
instead ofstd::thread::yield_now
at the end of each iteration.- This provides some basic frame-limiting when running without vsync, and prevents CPU usage skyrocketing on some systems.