summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2021-07-20 23:32:00 -0400
committerAaron Franke <arnfranke@yahoo.com>2021-08-01 12:49:02 -0500
commit9f3ae0adcd734a16c299cd0f023212478b3960d3 (patch)
tree46fe469fc6df039da0710626ab790865bd67d343 /tests
parentf06d201bb7a58e0399278ee29328740ea9efd16b (diff)
Move code for looking_at to Basis
Diffstat (limited to 'tests')
-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);