Browse Source

Add missing pose variant to Mat4:set;

bjorn 5 years ago
parent
commit
886f60cbf5
1 changed files with 4 additions and 0 deletions
  1. 4 0
      api/lovr/math/mat4/set.lua

+ 4 - 0
api/lovr/math/mat4/set.lua

@@ -54,6 +54,10 @@ return {
       arguments = { 'position', 'scale', 'rotation' },
       returns = { 'm' }
     },
+    {
+      arguments = { 'position', 'rotation' },
+      returns = { 'm' }
+    },
     {
       arguments = { '...' },
       returns = { 'm' }