wip: removing vec3 tls

This commit is contained in:
orng
2026-03-26 01:10:27 -05:00
parent c18e86944f
commit 7b021bc99d
62 changed files with 1070 additions and 1045 deletions

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;