summaryrefslogtreecommitdiff
path: root/tests/test_render.cpp
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2021-01-30 04:22:20 -0500
committerAaron Franke <arnfranke@yahoo.com>2021-02-16 18:33:23 -0500
commit7d9ad2b845fdb39e3d70b494b4a756ace7276dbd (patch)
tree9461ba7db9aa23d4f17f6d9c1af5908139779237 /tests/test_render.cpp
parentc0d01dcf6185e9090d6b6a1cd7682404d411b72b (diff)
Use Vector3.UP as a default value for look_at's up vector
Diffstat (limited to 'tests/test_render.cpp')
-rw-r--r--tests/test_render.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_render.cpp b/tests/test_render.cpp
index 2a4ae8bd73..72b2840098 100644
--- a/tests/test_render.cpp
+++ b/tests/test_render.cpp
@@ -183,8 +183,8 @@ public:
//vs->light_set_shadow( lightaux, true );
light = vs->instance_create2(lightaux, scenario);
Transform lla;
- //lla.set_look_at(Vector3(),Vector3(1,-1,1),Vector3(0,1,0));
- lla.set_look_at(Vector3(), Vector3(-0.000000, -0.836026, -0.548690), Vector3(0, 1, 0));
+ //lla.set_look_at(Vector3(),Vector3(1, -1, 1));
+ lla.set_look_at(Vector3(), Vector3(0.0, -0.836026, -0.548690));
vs->instance_set_transform(light, lla);