Browse Source

Cylinder;

bjorn 5 years ago
parent
commit
4149c5d9fa
2 changed files with 9 additions and 9 deletions
  1. 6 6
      api/init.lua
  2. 3 3
      api/lovr/graphics/cylinder.lua

+ 6 - 6
api/init.lua

@@ -6652,19 +6652,19 @@ return {
                 {
                   name = "x",
                   type = "number",
-                  description = "The x coordinate of the cylinder.",
+                  description = "The x coordinate of the center of the cylinder.",
                   default = "0"
                 },
                 {
                   name = "y",
                   type = "number",
-                  description = "The y coordinate of the cylinder.",
+                  description = "The y coordinate of the center of the cylinder.",
                   default = "0"
                 },
                 {
                   name = "z",
                   type = "number",
-                  description = "The z coordinate of the cylinder.",
+                  description = "The z coordinate of the center of the cylinder.",
                   default = "0"
                 },
                 {
@@ -6734,19 +6734,19 @@ return {
                 {
                   name = "x",
                   type = "number",
-                  description = "The x coordinate of the cylinder.",
+                  description = "The x coordinate of the center of the cylinder.",
                   default = "0"
                 },
                 {
                   name = "y",
                   type = "number",
-                  description = "The y coordinate of the cylinder.",
+                  description = "The y coordinate of the center of the cylinder.",
                   default = "0"
                 },
                 {
                   name = "z",
                   type = "number",
-                  description = "The z coordinate of the cylinder.",
+                  description = "The z coordinate of the center of the cylinder.",
                   default = "0"
                 },
                 {

+ 3 - 3
api/lovr/graphics/cylinder.lua

@@ -10,17 +10,17 @@ return {
     x = {
       type = 'number',
       default = '0',
-      description = 'The x coordinate of the cylinder.'
+      description = 'The x coordinate of the center of the cylinder.'
     },
     y = {
       type = 'number',
       default = '0',
-      description = 'The y coordinate of the cylinder.'
+      description = 'The y coordinate of the center of the cylinder.'
     },
     z = {
       type = 'number',
       default = '0',
-      description = 'The z coordinate of the cylinder.'
+      description = 'The z coordinate of the center of the cylinder.'
     },
     length = {
       type = 'number',