From ec7b481170dcd6a7b4cf0e6c1221e204ff7945f3 Mon Sep 17 00:00:00 2001 From: Marcus Elg Date: Sun, 10 May 2020 09:00:10 +0200 Subject: Renamed plane's d to distance --- main/tests/test_math.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') 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); } -- cgit v1.2.3