Browse Source

Cylinders don't have UVs;

bjorn 4 years ago
parent
commit
36c765079d
2 changed files with 5 additions and 1 deletions
  1. 1 0
      api/init.lua
  2. 4 1
      api/lovr/graphics/cylinder.lua

+ 1 - 0
api/init.lua

@@ -7288,6 +7288,7 @@ return {
           description = "Draws a cylinder.",
           key = "lovr.graphics.cylinder",
           module = "lovr.graphics",
+          notes = "Currently, cylinders don't have UVs.",
           variants = {
             {
               arguments = {

+ 4 - 1
api/lovr/graphics/cylinder.lua

@@ -81,5 +81,8 @@ return {
       arguments = { 'material', 'x', 'y', 'z', 'length', 'angle', 'ax', 'ay', 'az', 'r1', 'r2', 'capped', 'segments' },
       returns = {}
     }
-  }
+  },
+  notes = [[
+    Currently, cylinders don't have UVs.
+  ]]
 }