Browse Source

Clarify getViewPose/Projection;

bjorn 4 years ago
parent
commit
9cd29b79c4
3 changed files with 4 additions and 4 deletions
  1. 2 2
      api/init.lua
  2. 1 1
      api/lovr/graphics/getProjection.lua
  3. 1 1
      api/lovr/graphics/getViewPose.lua

+ 2 - 2
api/init.lua

@@ -8098,7 +8098,7 @@ return {
                 {
                   name = "matrix",
                   type = "Mat4",
-                  description = "The original matrix."
+                  description = "The matrix containing the projection."
                 }
               }
             }
@@ -8298,7 +8298,7 @@ return {
                 {
                   name = "matrix",
                   type = "Mat4",
-                  description = "The original matrix."
+                  description = "The matrix containing the view pose."
                 }
               }
             }

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

@@ -31,7 +31,7 @@ return {
     },
     matrix = {
       type = 'Mat4',
-      description = 'The original matrix.'
+      description = 'The matrix containing the projection.'
     }
   },
   variants = {

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

@@ -47,7 +47,7 @@ return {
     },
     matrix = {
       type = 'Mat4',
-      description = 'The original matrix.'
+      description = 'The matrix containing the view pose.'
     }
   },
   variants = {