Fix another culling bug

This commit is contained in:
Miloslav Ciz 2025-02-04 00:15:45 +01:00
parent dfd1393dba
commit 2c2f1a4c9f
8 changed files with 130 additions and 15 deletions

View file

@ -390,7 +390,7 @@ int LCR_replayRecordEvent(uint32_t frame, uint8_t input)
*/
TPE_Vec3 _LCR_racingBlockEnvFunc(TPE_Vec3 point, const uint8_t *block)
{
TPE_Vec3 v, vBest;
TPE_Vec3 v, vBest = TPE_vec3(TPE_INFINITY,TPE_INFINITY,TPE_INFINITY);
TPE_Unit d, dBest = TPE_INFINITY;
uint8_t bx, by, bz;