ソースを参照

Fix ...vector;

bjorn 1 ヶ月 前
コミット
426e2d324d
2 ファイル変更2 行追加2 行削除
  1. 1 1
      api/init.lua
  2. 1 1
      api/lovr/graphics/Pass/line.lua

+ 1 - 1
api/init.lua

@@ -19573,7 +19573,7 @@ return {
                     },
                     {
                       name = "...vectors",
-                      type = "number",
+                      type = "Vec3",
                       description = "More points to add to the line."
                     }
                   },

+ 1 - 1
api/lovr/graphics/Pass/line.lua

@@ -49,7 +49,7 @@ return {
       description = 'More points to add to the line.'
     },
     ['...vectors'] = {
-      type = 'number',
+      type = 'Vec3',
       description = 'More points to add to the line.'
     }
   },