Skip to content

Commit

Permalink
CollisionShape: simple refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jun 22, 2024
1 parent 7894e02 commit 07cfcd2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -508,11 +508,12 @@ public void setScale(Vector3f scale) {
throw new IllegalArgumentException(message);
}

this.scale.set(scale);

long shapeId = nativeId();
setLocalScaling(shapeId, scale);

logger.log(Level.FINE, "Scaling {0}.", this);
this.scale.set(scale);
}

/**
Expand Down

0 comments on commit 07cfcd2

Please sign in to comment.