Skip to content

Commit f421629

Browse files
committed
javadoc
1 parent eabd0dd commit f421629

7 files changed

Lines changed: 27 additions & 22 deletions

File tree

src/main/java/com/github/stephengold/joltjni/CharacterVirtual.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,8 @@ public float getHitReductionCosMaxAngle() {
517517
}
518518

519519
/**
520-
* Return the character's ID. The character is unaffected.
520+
* Return the character's ID. The character is unaffected. (native method:
521+
* GetID)
521522
*
522523
* @return a {@code CharacterId} value
523524
*/

src/main/java/com/github/stephengold/joltjni/CharacterVirtualRef.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,8 @@ public float getHitReductionCosMaxAngle() {
518518
}
519519

520520
/**
521-
* Return the character's ID. The character is unaffected.
521+
* Return the character's ID. The character is unaffected. (native method:
522+
* GetID)
522523
*
523524
* @return a {@code CharacterId} value
524525
*/
@@ -531,7 +532,8 @@ public int getId() {
531532
}
532533

533534
/**
534-
* Return the ID of the inner body. The character is unaffected.
535+
* Return the ID of the inner body. The character is unaffected. (native
536+
* method: GetInnerBodyID)
535537
*
536538
* @return the {@code BodyID} value
537539
*/

src/main/java/com/github/stephengold/joltjni/CollisionGroup.java

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public void setGroupFilter(GroupFilter filter) {
107107
}
108108

109109
/**
110-
* Alter the main group ID.
110+
* Alter the main group ID. (native method: SetGroupID)
111111
*
112112
* @param id the desired ID (default=cInvalidGroup)
113113
*/
@@ -117,7 +117,7 @@ public void setGroupId(int id) {
117117
}
118118

119119
/**
120-
* Alter the sub-group ID.
120+
* Alter the sub-group ID. (native method: SetSubGroupID)
121121
*
122122
* @param id the desired ID (default=cInvalidSubGroup)
123123
*/
@@ -149,9 +149,10 @@ public ConstGroupFilter getGroupFilter() {
149149
}
150150

151151
/**
152-
* Return the main group ID. The group is unaffected.
152+
* Return the main group ID. The group is unaffected. (native method:
153+
* GetGroupID)
153154
*
154-
* @return the ID value or {@code cInvalidGroup}
155+
* @return the {@code GroupID} value
155156
*/
156157
@Override
157158
public int getGroupId() {
@@ -162,9 +163,10 @@ public int getGroupId() {
162163
}
163164

164165
/**
165-
* Return the sub-group ID. The group is unaffected.
166+
* Return the sub-group ID. The group is unaffected. (native method:
167+
* GetSubGroupID)
166168
*
167-
* @return the ID value or {@code cInvalidSubGroup}
169+
* @return the {@code SubGroupID} value
168170
*/
169171
@Override
170172
public int getSubGroupId() {

src/main/java/com/github/stephengold/joltjni/readonly/ConstBody.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public interface ConstBody extends ConstJoltPhysicsObject {
141141
* Return the body's ID for use with {@code BodyInterface}. The body is
142142
* unaffected.
143143
*
144-
* @return the ID value
144+
* @return the {@code BodyID} value
145145
*/
146146
int getId();
147147

src/main/java/com/github/stephengold/joltjni/readonly/ConstCharacter.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public interface ConstCharacter extends ConstCharacterBase {
4141
* Return the ID of the body associated with this character. The character
4242
* is unaffected.
4343
*
44-
* @return the ID value
44+
* @return the {@code BodyID} value
4545
*/
4646
int getBodyId();
4747

@@ -118,20 +118,20 @@ public interface ConstCharacter extends ConstCharacterBase {
118118
* Copy the position of the associated body using the locking body
119119
* interface. The character is unaffected.
120120
*
121-
* @param storeLocation the desired location (in system coordinates, not
122-
* null, unaffected)
123-
* @param storeOrientation the desired orientation (in system coordinates,
124-
* not null, unaffected)
121+
* @param storeLocation storage for the location (in system coordinates, not
122+
* null, modified)
123+
* @param storeOrientation storage for the orientation (in system
124+
* coordinates, not null, modified)
125125
*/
126126
void getPositionAndRotation(RVec3 storeLocation, Quat storeOrientation);
127127

128128
/**
129129
* Copy the position of the associated body. The character is unaffected.
130130
*
131-
* @param storeLocation the desired location (in system coordinates, not
132-
* null, unaffected)
133-
* @param storeOrientation the desired orientation (in system coordinates,
134-
* not null, unaffected)
131+
* @param storeLocation storage for the location (in system coordinates, not
132+
* null, modified)
133+
* @param storeOrientation storage for the orientation (in system
134+
* coordinates, not null, modified)
135135
* @param lockBodies {@code true} → use the locking body interface,
136136
* {@code false} → use the non-locking body interface (default=true)
137137
*/

src/main/java/com/github/stephengold/joltjni/readonly/ConstCharacterVirtual.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public interface ConstCharacterVirtual extends ConstCharacterBase {
116116
/**
117117
* Return the ID of the inner body. The character is unaffected.
118118
*
119-
* @return the ID value
119+
* @return the {@code BodyID} value
120120
*/
121121
int getInnerBodyId();
122122

src/main/java/com/github/stephengold/joltjni/readonly/ConstCollisionGroup.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ public interface ConstCollisionGroup extends ConstJoltPhysicsObject {
4141
/**
4242
* Return the main group ID. The group is unaffected.
4343
*
44-
* @return the ID value or {@code cInvalidGroup}
44+
* @return the {@code GroupID} value
4545
*/
4646
int getGroupId();
4747

4848
/**
4949
* Return the sub-group ID. The group is unaffected.
5050
*
51-
* @return the ID value or {@code cInvalidSubGroup}
51+
* @return the {@code SubGroupID} value
5252
*/
5353
int getSubGroupId();
5454
}

0 commit comments

Comments
 (0)