summaryrefslogtreecommitdiff
path: root/tests/test_render.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-08-10 11:28:12 +0200
committerGitHub <noreply@github.com>2021-08-10 11:28:12 +0200
commit16d73fefdb0286f58b9cba86faeaf9155484d94b (patch)
treec675943a2083cbde012e459f785c8c0c44e09392 /tests/test_render.cpp
parent8b960a2d2b456b98efabd736e4db776580a5f846 (diff)
parent9f3ae0adcd734a16c299cd0f023212478b3960d3 (diff)
Merge pull request #50682 from aaronfranke/basis-looking-at
Move code for looking_at to Basis
Diffstat (limited to 'tests/test_render.cpp')
-rw-r--r--tests/test_render.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_render.cpp b/tests/test_render.cpp
index beff86dd83..21b4da9b3b 100644
--- a/tests/test_render.cpp
+++ b/tests/test_render.cpp
@@ -184,7 +184,7 @@ public:
light = vs->instance_create2(lightaux, scenario);
Transform3D lla;
//lla.set_look_at(Vector3(),Vector3(1, -1, 1));
- lla.set_look_at(Vector3(), Vector3(0.0, -0.836026, -0.548690));
+ lla.basis = Basis::looking_at(Vector3(0.0, -0.836026, -0.548690));
vs->instance_set_transform(light, lla);