summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/tests/test_math.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/tests/test_math.cpp b/main/tests/test_math.cpp
index d0bebaad72..b6ef573b36 100644
--- a/main/tests/test_math.cpp
+++ b/main/tests/test_math.cpp
@@ -380,7 +380,7 @@ void test_vec(Plane p_vec) {
Plane v0 = cm.xform4(p_vec);
print_line("out: " + v0);
- v0.normal.z = (v0.distance / 100.0 * 2.0 - 1.0) * v0.distance;
+ v0.normal.z = (v0.d / 100.0 * 2.0 - 1.0) * v0.d;
print_line("out_F: " + v0);
}