Browse Source

Enable mirror in teleportation colliders example;

bjorn 4 years ago
parent
commit
f48e1ea466
1 changed files with 2 additions and 1 deletions
  1. 2 1
      examples/Locomotion/Teleportation_Colliders/main.lua

+ 2 - 1
examples/Locomotion/Teleportation_Colliders/main.lua

@@ -145,7 +145,7 @@ function lovr.draw()
   lovr.graphics.setBackgroundColor(0.1, 0.1, 0.1)
   lovr.graphics.transform(mat4(motion.pose):invert())
   -- Render hands
-  lovr.graphics.setColor(1,1,1)
+  lovr.graphics.setColor(1, 1, 1)
   local radius = 0.04
   for _, hand in ipairs(lovr.headset.getHands()) do
     -- Whenever pose of hand or head is used, need to account for VR movement
@@ -163,4 +163,5 @@ function lovr.draw()
   end
   -- Teleportation curve and target, rendering of blinking overlay
   motion.drawTeleport()
+  lovr.graphics.setColor(1, 1, 1)
 end