Simplify materials

This commit is contained in:
Miloslav Ciz 2024-12-05 00:37:50 +01:00
parent beee13d2b3
commit 93b622a0a4
3 changed files with 38 additions and 48 deletions

View file

@ -1510,6 +1510,9 @@ void LCR_rendererCameraFollow(void)
S3L_lookAt(LCR_renderer.carModel->transform.translation,
&(LCR_renderer.scene.camera.transform));
// look a bit up to see further ahead:
LCR_renderer.scene.camera.transform.rotation.x += S3L_F / 32;
#if LCR_SETTING_SMOOTH_ANIMATIONS
// now average with previous transform to smooth the animation out: