summaryrefslogtreecommitdiff
path: root/tests/test_math.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-08-10 07:41:46 +0200
committerGitHub <noreply@github.com>2021-08-10 07:41:46 +0200
commit536950f9f35f48633c6c2c57ae2473bb906221d2 (patch)
tree659cb6a83ab8f4d76ae3b11486987c51825a849e /tests/test_math.cpp
parentf3ddc14d3829ed09d6eab81811bcfb1314626ddf (diff)
parent430ad75963a0e6837ef460e78fb99565714b4418 (diff)
Merge pull request #21922 from aaronfranke/double
Some work on double-precision support
Diffstat (limited to 'tests/test_math.cpp')
-rw-r--r--tests/test_math.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_math.cpp b/tests/test_math.cpp
index d0b9fdef4b..a44040dfe2 100644
--- a/tests/test_math.cpp
+++ b/tests/test_math.cpp
@@ -589,13 +589,13 @@ MainLoop *test() {
{
Vector3 v(1, 2, 3);
v.normalize();
- float a = 0.3;
+ real_t a = 0.3;
Basis m(v, a);
Vector3 v2(7, 3, 1);
v2.normalize();
- float a2 = 0.8;
+ real_t a2 = 0.8;
Basis m2(v2, a2);