Skip to content

Commit e85adc9

Browse files
committed
comments
1 parent f9bb90e commit e85adc9

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

MinieLibrary/src/main/java/com/jme3/bullet/BulletAppState.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,9 @@ public void update(float tpf) {
773773
this.tpf = tpf;
774774

775775
if (debugEnabled && debugAppState == null) {
776+
/*
777+
* Start debug visualization.
778+
*/
776779
assert pSpace != null;
777780
assert debugViewPorts != null;
778781
debugAppState = createDebugAppState(pSpace, debugViewPorts, filter,
@@ -784,6 +787,9 @@ public void update(float tpf) {
784787
stateManager.attach(debugAppState);
785788

786789
} else if (!debugEnabled && debugAppState != null) {
790+
/*
791+
* Stop debug visualization.
792+
*/
787793
stateManager.detach(debugAppState);
788794
debugAppState = null;
789795
}

MinieLibrary/src/main/java/com/jme3/bullet/collision/shapes/MultiSphere.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ public MultiSphere(float radius, float height) {
143143
* @param radius the desired radius (in unscaled units, ≥0)
144144
* @param height the desired height (of the cylindrical portion) (in
145145
* unscaled units, ≥0)
146-
* @param axisIndex which local axis: 0→X, 1→Y, 2→Z
146+
* @param axisIndex which local axis for height: 0→X, 1→Y,
147+
* 2→Z
147148
*/
148149
public MultiSphere(float radius, float height, int axisIndex) {
149150
Validate.nonNegative(radius, "radius");

0 commit comments

Comments
 (0)