Skip to content

Commit

Permalink
library: delete 7 native-ID getters that were deprecated in v7.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Feb 15, 2024
1 parent dfea791 commit aaf8c33
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 84 deletions.
12 changes: 0 additions & 12 deletions MinieLibrary/src/main/java/com/jme3/bullet/CollisionSpace.java
Original file line number Diff line number Diff line change
Expand Up @@ -358,18 +358,6 @@ public int getRayTestFlags() {
return rayTestFlags;
}

/**
* Return the ID of the native object.
*
* @return the native identifier (not zero)
* @deprecated use {@link NativePhysicsObject#nativeId()}
*/
@Deprecated
final public long getSpaceId() {
long spaceId = nativeId();
return spaceId;
}

/**
* Copy the maximum coordinate values for this space.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -681,17 +681,6 @@ public float getFriction() {
return result;
}

/**
* Return the ID of the native object ({@code btCollisionObject}).
*
* @return the native identifier (not zero)
* @deprecated use {@link NativePhysicsObject#nativeId()}
*/
@Deprecated
final public long getObjectId() {
return nativeId();
}

/**
* For compatibility with the jme3-jbullet library.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,18 +264,6 @@ public float getMargin() {
return margin;
}

/**
* Return the ID of the native object ({@code btCollisionShape}).
*
* @return the native identifier (not zero)
* @deprecated use {@link NativePhysicsObject#nativeId()}
*/
@Deprecated
final public long getObjectId() {
long shapeId = nativeId();
return shapeId;
}

/**
* Copy the scale factors.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,19 +198,6 @@ public PhysicsBody getBodyB() {
return bodyB;
}

/**
* Return the ID of the native object ({@code btTypedConstraint},
* {@code btSoftBody::Anchor}, or {@code btSoftBody::Joint}).
*
* @return the native identifier (not zero)
* @deprecated use {@link NativePhysicsObject#nativeId()}
*/
@Deprecated
final public long getObjectId() {
long jointId = nativeId();
return jointId;
}

/**
* Access the PhysicsSpace where this joint is added.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,18 +166,6 @@ public float getMaxMotorForce() {
return result;
}

/**
* Return the ID of the native object ({@code btRotationalLimitMotor}).
*
* @return the native identifier (not zero)
* @deprecated use {@link NativePhysicsObject#nativeId()}
*/
@Deprecated
public long getMotor() {
long motorId = nativeId();
return motorId;
}

/**
* Return this motor's constraint-force mixing parameter for normal
* conditions (native field: m_normalCFM).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,18 +157,6 @@ public Vector3f getMaxMotorForce(Vector3f storeResult) {
return result;
}

/**
* Return the ID of the native object ({@code btTranslationalLimitMotor}).
*
* @return the native identifier (not zero)
* @deprecated use {@link NativePhysicsObject#nativeId()}
*/
@Deprecated
public long getMotor() {
long motorId = nativeId();
return motorId;
}

/**
* Copy this motor's constraint-force mixing parameters for normal
* conditions (native field: m_normalCFM).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,18 +181,6 @@ public Vec3d getLocationDp(Vec3d storeResult) {
return result;
}

/**
* Return the ID of the native object.
*
* @return the native identifier (not zero)
* @deprecated use {@link NativePhysicsObject#nativeId()}
*/
@Deprecated
public long getObjectId() {
long motionStateId = nativeId();
return motionStateId;
}

/**
* Copy the orientation to a Matrix3f.
*
Expand Down

0 comments on commit aaf8c33

Please sign in to comment.