Package com.github.stephengold.joltjni
Class AddConvexRadiusTab
java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.AddConvexRadiusTab
- All Implemented Interfaces:
ConstJoltPhysicsObject
,AutoCloseable
,Comparable<JoltPhysicsObject>
Add convex radius to a
TransformedAaBox
. (native type:
AddConvexRadius<TransformedConvexObject<AABox>>
)-
Constructor Summary
ConstructorsConstructorDescriptionAddConvexRadiusTab
(TransformedAaBox tab, float convexRadius) Instantiate for the specified box and convex radius. -
Method Summary
Modifier and TypeMethodDescriptiongetSupport
(Vec3Arg direction) Evaluate the augmented support function for the specified direction.Methods inherited from class com.github.stephengold.joltjni.JoltPhysicsObject
close, compareTo, equals, getContainingObject, hasAssignedNativeObject, hashCode, ownsNativeObject, setVirtualAddress, setVirtualAddress, startCleaner, targetVa, toString, va
-
Constructor Details
-
AddConvexRadiusTab
Instantiate for the specified box and convex radius.- Parameters:
tab
- the box to use (not null)convexRadius
- the desired convex radius
-
-
Method Details
-
getSupport
Evaluate the augmented support function for the specified direction.- Parameters:
direction
- the direction to use (not null, unaffected)- Returns:
- a new offset vector
-