浏览代码

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",
                       name = "...vectors",
-                      type = "number",
+                      type = "Vec3",
                       description = "More points to add to the line."
                       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.'
       description = 'More points to add to the line.'
     },
     },
     ['...vectors'] = {
     ['...vectors'] = {
-      type = 'number',
+      type = 'Vec3',
       description = 'More points to add to the line.'
       description = 'More points to add to the line.'
     }
     }
   },
   },