summaryrefslogtreecommitdiffstats
path: root/main/tests/test_math.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-05-10 13:06:55 +0200
committerGitHub <noreply@github.com>2020-05-10 13:06:55 +0200
commit9cc67b19b8803adf3cb12364f1e3faade7553ebb (patch)
treee4741393cf3a0dd288bc2096c97471ea595340b0 /main/tests/test_math.cpp
parent2d8d311b1280c78e1ae70900186d5ae22a488828 (diff)
parentec7b481170dcd6a7b4cf0e6c1221e204ff7945f3 (diff)
downloadredot-engine-9cc67b19b8803adf3cb12364f1e3faade7553ebb.tar.gz
Merge pull request #38613 from MCrafterzz/plane
Renamed plane's d to distance
Diffstat (limited to 'main/tests/test_math.cpp')
-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);
}