Browse Source

Add note about lovr.mirror camera;

bjorn 6 years ago
parent
commit
975dab5f7a
2 changed files with 562 additions and 1584 deletions
  1. 558 1584
      api/init.lua
  2. 4 0
      api/lovr/callbacks/mirror.lua

File diff suppressed because it is too large
+ 558 - 1584
api/init.lua


+ 4 - 0
api/lovr/callbacks/mirror.lua

@@ -10,6 +10,10 @@ return {
   ]],
   arguments = {},
   returns = {},
+  notes = [[
+    When this callback is called, the camera is located at `(0, 0, 0)` and is looking down the
+    negative-z axis.
+  ]],
   example = {
     description = [[
       The default `lovr.mirror` implementation draws the headset mirror texture to the window if

Some files were not shown because too many files changed in this diff