Browse Source

Fix getProjection related;

bjorn 4 years ago
parent
commit
8f2a51d588
2 changed files with 2 additions and 2 deletions
  1. 1 1
      api/init.lua
  2. 1 1
      api/lovr/graphics/getProjection.lua

+ 1 - 1
api/init.lua

@@ -9511,7 +9511,7 @@ return {
           module = "lovr.graphics",
           notes = "Non-stereo rendering will only use the first view.\n\nThe projection matrices are available as the `mat4 lovrProjections[2]` variable in shaders.  The current projection matrix is available as `lovrProjection`.",
           related = {
-            "lovr.headset.getViewPose",
+            "lovr.headset.getViewAngles",
             "lovr.headset.getViewCount",
             "lovr.graphics.getViewPose",
             "lovr.graphics.setViewPose"

+ 1 - 1
api/lovr/graphics/getProjection.lua

@@ -51,7 +51,7 @@ return {
     current projection matrix is available as `lovrProjection`.
   ]],
   related = {
-    'lovr.headset.getViewPose',
+    'lovr.headset.getViewAngles',
     'lovr.headset.getViewCount',
     'lovr.graphics.getViewPose',
     'lovr.graphics.setViewPose'