Skip to content

Commit

Permalink
PhysicsSpace: javadoc and a trivial refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jun 15, 2024
1 parent 870f92c commit 7eed52c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions MinieLibrary/src/main/java/com/jme3/bullet/PhysicsSpace.java
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,11 @@ protected ConcurrentLinkedQueue<AppTask<?>> initialValue() {
}
};
/**
* copy of gravity-acceleration vector for newly-added bodies (default is
* 9.81 in the -Y direction, corresponding to Earth-normal in MKS units)
* copy of the gravity-acceleration vector for newly-added bodies (default
* is 9.81 in the -Y direction, approximating Earth-normal gravity in MKS
* units for a Y-up coordinate system)
*/
final private Vector3f gravity = new Vector3f(0, -9.81f, 0);
final private Vector3f gravity = new Vector3f(0f, -9.81f, 0f);
// *************************************************************************
// constructors

Expand Down

0 comments on commit 7eed52c

Please sign in to comment.