mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-13 13:56:49 -04:00
Frame interp: Revised camera system
FOV is now smooth, and the individual hacks for stars and Epona's reins are removed
This commit is contained in:
@@ -253,7 +253,10 @@ void main01(void) {
|
||||
accumulator -= kSimStepSeconds;
|
||||
}
|
||||
dusk::frame_interp::interpolate(static_cast<float>(accumulator / kSimStepSeconds));
|
||||
cAPIGph_Painter();
|
||||
{
|
||||
dusk::frame_interp::PresentationCameraScope presentation_camera;
|
||||
cAPIGph_Painter();
|
||||
}
|
||||
} else {
|
||||
accumulator = 0.0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user