summaryrefslogtreecommitdiff
path: root/main/tests
diff options
context:
space:
mode:
authorMarcus Elg <marcusaccounts@yahoo.se>2020-05-10 09:00:10 +0200
committerMarcus Elg <marcusaccounts@yahoo.se>2020-05-10 12:12:51 +0200
commitec7b481170dcd6a7b4cf0e6c1221e204ff7945f3 (patch)
treebd054639c909ab4ea6c855e70ddc3b25ee2f50b0 /main/tests
parentff5dfcdf68c20590bf123ade75ca06ed58276372 (diff)
Renamed plane's d to distance
Diffstat (limited to 'main/tests')
-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 38f7371802..3a95581720 100644
--- a/main/tests/test_math.cpp
+++ b/main/tests/test_math.cpp
@@ -370,7 +370,7 @@ void test_vec(Plane p_vec) {
Plane v0 = cm.xform4(p_vec);
print_line("out: " + v0);
- v0.normal.z = (v0.d / 100.0 * 2.0 - 1.0) * v0.d;
+ v0.normal.z = (v0.distance / 100.0 * 2.0 - 1.0) * v0.distance;
print_line("out_F: " + v0);
}