Skip to content

Commit

Permalink
HullCollisionShape: clarify validation message
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Aug 22, 2024
1 parent 09ee7e3 commit c512ab2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public HullCollisionShape(RectangularSolid rectangularSolid) {
* null, not empty, unaffected)
*/
public HullCollisionShape(Vector3f... locations) {
Validate.nonEmpty(locations, "points");
Validate.nonEmpty(locations, "locations");

int numFloats = numAxes * locations.length;
this.points = new float[numFloats];
Expand Down

0 comments on commit c512ab2

Please sign in to comment.