Address some TODOs

This commit is contained in:
Miloslav Ciz 2025-04-20 13:45:36 +02:00
parent 51bc7ada30
commit 975bf16399
3 changed files with 12 additions and 8 deletions

View file

@ -34,7 +34,7 @@
#define S3L_FLAT 1
#endif
#define S3L_NEAR (S3L_F / 2)
#define S3L_NEAR (10 * (S3L_F / 16)) // too low value will cause overflows
#include "small3dlib.h"
/// Renderer specific unit, length of one map square.
@ -2011,6 +2011,7 @@ void LCR_rendererCameraReset(void)
LCR_renderer.scene.camera.transform.rotation.x = 0;
LCR_renderer.scene.camera.transform.rotation.z = 0;
LCR_rendererCameraFollow(2);
LCR_rendererCameraFollow(1);
}