wip: removing vec3 tls

This commit is contained in:
orng committed 2026-03-26 01:10:27 -05:00
1 parent c18e86944f
commit 7b021bc99d
62 files changed
+1070 -1045

No files matched your search

+1 -1
View File
@@ -2490,7 +2490,7 @@ bool Level::checkAndHandleWater(AABB* box, Material* material,
}
}
if (current->length() > 0 && e->isPushedByWater()) {
current = current->normalize();
*current = current->normalize();
double pow = 0.014;
e->xd += current->x * pow;
e->yd += current->y * pow;