Skip to content

Commit a97b49c

Browse files
committed
Adjust;
1 parent ed2cb13 commit a97b49c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

api/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38283,7 +38283,7 @@ return {
3828338283
{
3828438284
name = "ConvexShape",
3828538285
summary = "A convex hull shape.",
38286-
description = "A type of `Shape` that is a convex hull of a collection of points, allowing for custom collision shapes. It is similar to a `MeshShape`, but it is not required to be kinematic, and it will use the convex hull of the mesh instead of using the exact triangles of the object.\n\nConvex shapes can be created from a `Model`, `ModelData`, `Mesh`, or a table of point positions, just like `MeshShape`.\n\nConvex shapes can be cloned by passing in an existing ConvexShape to clone:\n\n model = lovr.data.newModelData('rock.glb')\n parent = lovr.physics.newConvexShape(model)\n clone = lovr.physics.newConvexShape(parent, scale)\n\nThe clone will reuse all of the data from the parent, which speeds things up a lot.\n\nConvex shapes can have a custom scale applied to their points, and clones can have a different scale than their parents.",
38286+
description = "A type of `Shape` that is a convex hull of a collection of points, allowing for custom collision shapes. It is similar to a `MeshShape`, but it is not required to be kinematic, and it will use the convex hull of the mesh instead of using the exact triangles of the object.\n\nConvex shapes can be created from a `Model`, `ModelData`, `Mesh`, or a table of point positions, similar to `MeshShape`.\n\nConvex shapes can be cloned by passing in an existing ConvexShape to clone:\n\n model = lovr.data.newModelData('rock.glb')\n parent = lovr.physics.newConvexShape(model)\n clone = lovr.physics.newConvexShape(parent, scale)\n\nThe clone will reuse all of the data from the parent, which speeds things up a lot.\n\nConvex shapes can have a custom scale applied to their points, and clones can have their own scale.",
3828738287
key = "ConvexShape",
3828838288
module = "lovr.physics",
3828938289
constructors = {

api/lovr/physics/ConvexShape/init.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ return {
66
the convex hull of the mesh instead of using the exact triangles of the object.
77
88
Convex shapes can be created from a `Model`, `ModelData`, `Mesh`, or a table of point positions,
9-
just like `MeshShape`.
9+
similar to `MeshShape`.
1010
1111
Convex shapes can be cloned by passing in an existing ConvexShape to clone:
1212
@@ -16,8 +16,8 @@ return {
1616
1717
The clone will reuse all of the data from the parent, which speeds things up a lot.
1818
19-
Convex shapes can have a custom scale applied to their points, and clones can have a different
20-
scale than their parents.
19+
Convex shapes can have a custom scale applied to their points, and clones can have their own
20+
scale.
2121
]],
2222
extends = 'Shape',
2323
constructors = {

0 commit comments

Comments
 (0)