Skip to content

Commit

Permalink
BodyCreationSettings: specify that an argument is immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jul 13, 2024
1 parent 3d6cf3a commit c7b3868
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public BodyCreationSettings() {
* @param motionType the desired motion type (not null)
* @param objLayer the ID of the desired object layer
*/
public BodyCreationSettings(Shape shape, RVec3Arg loc, QuatArg orient,
public BodyCreationSettings(ConstShape shape, RVec3Arg loc, QuatArg orient,
EMotionType motionType, int objLayer) {
long shapeVa = shape.va();
int motionTypeOrdinal = motionType.ordinal();
Expand Down

0 comments on commit c7b3868

Please sign in to comment.