Prechádzať zdrojové kódy

Fix vector.pack z default;

bjorn 1 týždeň pred
rodič
commit
b3a7797a9a
2 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 1 1
      api/init.lua
  2. 1 1
      api/lovr/vector/pack.lua

+ 1 - 1
api/init.lua

@@ -42988,7 +42988,7 @@ return {
                   name = "z",
                   type = "number",
                   description = "The z component of the vector.",
-                  default = "z"
+                  default = "x"
                 }
               },
               returns = {

+ 1 - 1
api/lovr/vector/pack.lua

@@ -16,7 +16,7 @@ return {
     },
     z = {
       type = 'number',
-      default = 'z',
+      default = 'x',
       description = 'The z component of the vector.'
     }
   },