bjorn 1 年之前
父節點
當前提交
c8b25c8df9
共有 2 個文件被更改,包括 2 次插入6 次删除
  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.
   ]],
   ]],