Skip to content

Commit

Permalink
javadoc and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Sep 21, 2022
1 parent fdd6a7d commit 2f59146
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public HullCollisionShape toHullShape() {

result = new HullCollisionShape(buffer);

} else { // Use a 2 vertices with a reduced margin.
} else { // Use 2 vertices with a reduced margin.
Vector3f v1 = new Vector3f();
v1.set(axis, height / 2f);
Vector3f v2 = v1.negate();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public IndexedMesh(Vector3f[] positionArray, int[] indexArray) {
* Instantiate an IndexedMesh based on the specified vertex positions. An
* index will be assigned to each distinct position.
*
* @param buffer the vertex positions of an non-indexed triangle mesh (not
* @param buffer the vertex positions of a non-indexed triangle mesh (not
* null, flipped, limit a multiple of 9, unaffected)
*/
public IndexedMesh(FloatBuffer buffer) {
Expand Down Expand Up @@ -241,7 +241,7 @@ public void copyTriangle(int triangleIndex, Triangle destination) {
}

/**
* Copy all of the vertex positions to a new buffer.
* Copy all the vertex positions to a new buffer.
*
* @return a new, direct, unflipped buffer
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public class RigidBodySnapshot {
/**
* anisotropic friction modes (bitmask)
*/
final protected int anisotopicFrictionModes;
final protected int anisotopicFrictionModes; // TODO rename
/**
* native IDs of all collision objects in the ignore list
*/
Expand Down Expand Up @@ -159,7 +159,7 @@ public class RigidBodySnapshot {
/**
* anisotropic friction components
*/
final protected Vector3f anisotopicFrictionComponents;
final protected Vector3f anisotopicFrictionComponents; // TODO rename
/**
* linear factors
*/
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/com/jme3/bullet/objects/infos/Sbcp.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,22 +57,22 @@ public enum Sbcp {
*/
ClusterKineticSplit,
/**
* cluster-versus-rigidbody hardness coefficient (≥0, ≤1, default=0.1,
* cluster-versus-rigidBody hardness coefficient (≥0, ≤1, default=0.1,
* native field: kSRHR_CL)
*/
ClusterRigidHardness,
/**
* cluster-versus-rigidbody impulse-split coefficient (≥0, ≤1,
* cluster-versus-rigidBody impulse-split coefficient (≥0, ≤1,
* default=0.5, native field: kSR_SPLT_CL)
*/
ClusterRigidSplit,
/**
* cluster-versus-softbody hardness coefficient (≥0, ≤1, default=0.5,
* cluster-versus-softBody hardness coefficient (≥0, ≤1, default=0.5,
* native field: kSSHR_CL)
*/
ClusterSoftHardness,
/**
* cluster-versus-softbody impulse-split coefficient (≥0, ≤1,
* cluster-versus-softBody impulse-split coefficient (≥0, ≤1,
* default=0.5, native field: kSS_SPLT_CL).
*/
ClusterSoftSplit,
Expand Down

0 comments on commit 2f59146

Please sign in to comment.