mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-14 17:14:29 +02:00
fix warnings
This commit is contained in:
@@ -371,8 +371,8 @@ struct AmbientCache {
|
|||||||
int oz = sz + sign(z - sz) * 1024;
|
int oz = sz + sign(z - sz) * 1024;
|
||||||
|
|
||||||
float tx, tz;
|
float tx, tz;
|
||||||
tx = fabsf(x - sx) / 1024.0f;
|
tx = abs(x - sx) / 1024.0f;
|
||||||
tz = fabsf(z - sz) / 1024.0f;
|
tz = abs(z - sz) / 1024.0f;
|
||||||
|
|
||||||
cx = getAmbient(room, ox, sz);
|
cx = getAmbient(room, ox, sz);
|
||||||
cz = getAmbient(room, sx, oz);
|
cz = getAmbient(room, sx, oz);
|
||||||
|
Reference in New Issue
Block a user