bjorn 1 year ago
parent
commit
c8b25c8df9
2 changed files with 2 additions and 6 deletions
  1. 1 5
      api/init.lua
  2. 1 1
      api/lovr/physics/DistanceJoint/init.lua

+ 1 - 5
api/init.lua

@@ -9816,10 +9816,6 @@ return {
               name = "i32x2",
               name = "i32x2",
               description = "Two 32-bit signed integers."
               description = "Two 32-bit signed integers."
             },
             },
-            {
-              name = "i32x2",
-              description = "Two 32-bit signed integers."
-            },
             {
             {
               name = "i32x3",
               name = "i32x3",
               description = "Three 32-bit signed integers."
               description = "Three 32-bit signed integers."
@@ -37160,7 +37156,7 @@ return {
         {
         {
           name = "DistanceJoint",
           name = "DistanceJoint",
           summary = "A fixed distance joint.",
           summary = "A fixed distance joint.",
-          description = "A DistanceJoint is a type of `Joint` that tries to keep two colliders a fixed distance apart. The distance is determined by the initial distance between the anchor points.  The joint allows for rotation on the anchor points.",
+          description = "A DistanceJoint is a type of `Joint` that tries to keep two colliders within a certain distance. The distance is determined by the initial distance between the anchor points.  The joint allows for rotation on the anchor points.",
           key = "DistanceJoint",
           key = "DistanceJoint",
           module = "lovr.physics",
           module = "lovr.physics",
           constructors = {
           constructors = {

+ 1 - 1
api/lovr/physics/DistanceJoint/init.lua

@@ -1,7 +1,7 @@
 return {
 return {
   summary = 'A fixed distance joint.',
   summary = 'A fixed distance joint.',
   description = [[
   description = [[
-    A DistanceJoint is a type of `Joint` that tries to keep two colliders a fixed distance apart.
+    A DistanceJoint is a type of `Joint` that tries to keep two colliders within a certain distance.
     The distance is determined by the initial distance between the anchor points.  The joint allows
     The distance is determined by the initial distance between the anchor points.  The joint allows
     for rotation on the anchor points.
     for rotation on the anchor points.
   ]],
   ]],