public class LinearMath extends LinearMath
Modifier and Type | Field and Description |
---|---|
static double |
ANGULAR_MOTION_THRESHOLD |
static int |
BT_ARRAY_CODE |
static int |
BT_BOXSHAPE_CODE |
static int |
BT_BULLET_VERSION |
static int |
BT_COLLISIONOBJECT_CODE |
static int |
BT_CONSTRAINT_CODE |
static int |
BT_CONTACTMANIFOLD_CODE |
static int |
BT_DNA_CODE |
static int |
BT_DYNAMICSWORLD_CODE |
static double |
BT_HALF |
static int |
BT_HEADER_LENGTH |
static double |
BT_LARGE_FLOAT
The btScalar type abstracts floating point numbers, to easily switch between double and single floating point precision.
|
static int |
BT_MB_LINKCOLLIDER_CODE |
static int |
BT_MULTIBODY_CODE |
static int |
BT_NO_PROFILE |
static double |
BT_ONE |
static int |
BT_QUANTIZED_BVH_CODE |
static int |
BT_RIGIDBODY_CODE |
static int |
BT_SBMATERIAL_CODE |
static int |
BT_SBNODE_CODE |
static int |
BT_SERIALIZE_CONTACT_MANIFOLDS
enum btSerializationFlags
|
static int |
BT_SERIALIZE_NO_BVH
enum btSerializationFlags
|
static int |
BT_SERIALIZE_NO_DUPLICATE_ASSERT
enum btSerializationFlags
|
static int |
BT_SERIALIZE_NO_TRIANGLEINFOMAP
enum btSerializationFlags
|
static int |
BT_SHAPE_CODE |
static int |
BT_SOFTBODY_CODE |
static int |
BT_TRIANLGE_INFO_MAP |
static double |
BT_TWO |
static int |
BT_USE_PLACEMENT_NEW
If the platform doesn't support placement new, you can disable BT_USE_PLACEMENT_NEW
then the btAlignedObjectArray doesn't support objects with virtual methods, and non-trivial constructors/destructors
You can enable BT_USE_MEMCPY, then swapping elements in the array will use memcpy instead of operator=
see discussion here: https://bulletphysics.orgphpBB2/viewtopic.php?t=1231 and
http://www.continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1240
|
static double |
BT_ZERO |
static String |
btQuaternionDataName |
static String |
btVector3DataName
align a pointer to the provided alignment, upwards
|
static int |
QE_FAIL
enum HullError
|
static int |
QE_OK
enum HullError
|
static int |
QF_DEFAULT
enum HullFlag
|
static int |
QF_REVERSE_ORDER
enum HullFlag
|
static int |
QF_TRIANGLES
enum HullFlag
|
static double |
SIMD_2_PI |
static double |
SIMD_DEGS_PER_RAD |
static double |
SIMD_HALF_PI |
static double |
SIMD_PI |
static double |
SIMD_RADS_PER_DEG |
static double |
SIMDSQRT12 |
static int |
USE_BT_CLOCK
Real-Time Hierarchical Profiling for Game Programming Gems 3
by Greg Hjelstrom & Byon Garrabrant
|
Constructor and Description |
---|
LinearMath() |
Modifier and Type | Method and Description |
---|---|
static btMatrix3x3 |
add(btMatrix3x3 m1,
btMatrix3x3 m2) |
static btVector3 |
add(btVector3 v1,
btVector3 v2)
\brief Return the sum of two vectors (Point symantics)
|
static double |
ANGULAR_MOTION_THRESHOLD() |
static int |
BT_ARRAY_CODE() |
static int |
BT_BOXSHAPE_CODE() |
static int |
BT_COLLISIONOBJECT_CODE() |
static int |
BT_CONSTRAINT_CODE() |
static int |
BT_CONTACTMANIFOLD_CODE() |
static int |
BT_DNA_CODE() |
static int |
BT_DYNAMICSWORLD_CODE() |
static int |
BT_HASH_NULL() |
static int |
BT_MAX_THREAD_COUNT()
These spatial algebra classes are used for btMultiBody,
/**see BulletDynamics/Featherstone
|
static int |
BT_MB_LINKCOLLIDER_CODE() |
static int |
BT_MULTIBODY_CODE() |
static int |
BT_QUANTIZED_BVH_CODE() |
static int |
BT_QUICKPROF_MAX_THREAD_COUNT() |
static int |
BT_RIGIDBODY_CODE() |
static int |
BT_SBMATERIAL_CODE() |
static int |
BT_SBNODE_CODE() |
static int |
BT_SHAPE_CODE() |
static int |
BT_SOFTBODY_CODE() |
static int |
BT_TRIANLGE_INFO_MAP() |
static btVector3 |
btAabbSupport(btVector3 halfExtents,
btVector3 supportDir) |
static double |
btAcos(double x) |
static Pointer |
btAlignedAllocInternal(long size,
int alignment)
BT_DEBUG_MEMORY_ALLOCATIONS preprocessor can be set in build system
for regression tests to detect memory leaks
#define BT_DEBUG_MEMORY_ALLOCATIONS 1
|
static void |
btAlignedAllocSetCustom(btAllocFunc allocFunc,
btFreeFunc freeFunc)
The developer can let all Bullet memory allocations go through a custom memory allocator, using btAlignedAllocSetCustom
|
static void |
btAlignedAllocSetCustomAligned(btAlignedAllocFunc allocFunc,
btAlignedFreeFunc freeFunc)
If the developer has already an custom aligned allocator, then btAlignedAllocSetCustomAligned can be used.
|
static void |
btAlignedFreeInternal(Pointer ptr) |
static double |
btAngle(btQuaternion q1,
btQuaternion q2)
\brief Return the angle between two quaternions
|
static double |
btAngle(btVector3 v1,
btVector3 v2)
\brief Return the angle between two vectors
|
static double |
btAsin(double x) |
static double |
btAtan(double x) |
static double |
btAtan2(double x,
double y) |
static double |
btAtan2Fast(double y,
double x) |
static double |
btCos(double x) |
static btITaskScheduler |
btCreateDefaultTaskScheduler() |
static btVector3 |
btCross(btVector3 v1,
btVector3 v2)
\brief Return the cross product of two vectors
|
static double |
btDegrees(double x) |
static double |
btDistance(btVector3 v1,
btVector3 v2)
\brief Return the distance between two vectors
|
static double |
btDistance2(btVector3 v1,
btVector3 v2)
\brief Return the distance squared between two vectors
|
static double |
btDot(btVector3 v1,
btVector3 v2)
\brief Return the dot product between two vectors
|
static boolean |
btEqual(double a,
double eps) |
static double |
btExp(double x) |
static double |
btFabs(double x) |
static double |
btFmod(double x,
double y) |
static double |
btFsel(double a,
double b,
double c) |
static boolean |
btFuzzyZero(double x) |
static btEnterProfileZoneFunc |
btGetCurrentEnterProfileZoneFunc() |
static btLeaveProfileZoneFunc |
btGetCurrentLeaveProfileZoneFunc() |
static int |
btGetCurrentThreadIndex() |
static btITaskScheduler |
btGetOpenMPTaskScheduler() |
static btITaskScheduler |
btGetPPLTaskScheduler() |
static btITaskScheduler |
btGetSequentialTaskScheduler() |
static btITaskScheduler |
btGetTaskScheduler() |
static btITaskScheduler |
btGetTBBTaskScheduler() |
static int |
btGetVersion() |
static boolean |
btGreaterEqual(double a,
double eps) |
static int |
btIsDoublePrecision() |
static boolean |
btIsMainThread() |
static int |
btIsNegative(double x) |
static double |
btLargeDot(double[] a,
double[] b,
int n) |
static double |
btLargeDot(DoubleBuffer a,
DoubleBuffer b,
int n) |
static double |
btLargeDot(DoublePointer a,
DoublePointer b,
int n) |
static double |
btLog(double x) |
static boolean |
btMachineIsLittleEndian() |
static void |
btMutexLock(btSpinMutex mutex) |
static boolean |
btMutexTryLock(btSpinMutex mutex) |
static void |
btMutexUnlock(btSpinMutex mutex) |
static double |
btNormalizeAngle(double angleInRadians) |
static void |
btParallelFor(int iBegin,
int iEnd,
int grainSize,
btIParallelForBody body) |
static double |
btParallelSum(int iBegin,
int iEnd,
int grainSize,
btIParallelSumBody body) |
static double |
btPow(double x,
double y) |
static int |
btQuickprofGetCurrentThreadIndex2() |
static double |
btRadians(double x) |
static void |
btResetThreadIndexCounter() |
static float |
btSelect(int condition,
float valueIfConditionNonZero,
float valueIfConditionZero) |
static int |
btSelect(int condition,
int valueIfConditionNonZero,
int valueIfConditionZero)
btSelect avoids branches, which makes performance much better for consoles like Playstation 3 and XBox 360
Thanks Phil Knight.
|
static void |
btSetCustomEnterProfileZoneFunc(btEnterProfileZoneFunc enterFunc) |
static void |
btSetCustomLeaveProfileZoneFunc(btLeaveProfileZoneFunc leaveFunc) |
static void |
btSetTaskScheduler(btITaskScheduler ts) |
static double |
btSin(double x) |
static double |
btSqrt(double x) |
static int |
btStrLen(BytePointer str) |
static int |
btStrLen(String str) |
static int |
btSwapEndian(int val) |
static short |
btSwapEndian(short val) |
static void |
btSwapEndianDouble(double d,
byte[] dst) |
static void |
btSwapEndianDouble(double d,
ByteBuffer dst) |
static void |
btSwapEndianDouble(double d,
BytePointer dst) |
static int |
btSwapEndianFloat(float d)
btSwapFloat uses using char pointers to swap the endianness
////btSwapFloat/btSwapDouble will NOT return a float, because the machine might 'correct' invalid floating point values
Not all values of sign/exponent/mantissa are valid floating point numbers according to IEEE 754.
|
static void |
btSwapScalarEndian(double sourceVal,
double[] destVal) |
static void |
btSwapScalarEndian(double sourceVal,
DoubleBuffer destVal) |
static void |
btSwapScalarEndian(double sourceVal,
DoublePointer destVal)
btSwapVector3Endian swaps vector endianness, useful for network and cross-platform serialization
|
static void |
btSwapVector3Endian(btVector3 sourceVec,
btVector3 destVec)
btSwapVector3Endian swaps vector endianness, useful for network and cross-platform serialization
|
static double |
btTan(double x) |
static boolean |
btThreadsAreRunning() |
static double |
btTriple(btVector3 v1,
btVector3 v2,
btVector3 v3) |
static double |
btUnswapEndianDouble(byte[] src) |
static double |
btUnswapEndianDouble(ByteBuffer src) |
static double |
btUnswapEndianDouble(BytePointer src) |
static float |
btUnswapEndianFloat(int a) |
static void |
btUnSwapVector3Endian(btVector3 vector)
btUnSwapVector3Endian swaps vector endianness, useful for network and cross-platform serialization
|
static btVector3 |
divide(btVector3 v1,
btVector3 v2)
\brief Return the vector inversely scaled by s
|
static btVector3 |
divide(btVector3 v,
double s)
\brief Return the vector inversely scaled by s
|
static double |
dot(btQuaternion q1,
btQuaternion q2)
\brief Calculate the dot product between two quaternions
|
static boolean |
equals(btMatrix3x3 m1,
btMatrix3x3 m2)
\brief Equality operator between two matrices
It will test all elements are equal.
|
static boolean |
equals(btTransform t1,
btTransform t2)
\brief Test if two transforms have all elements equal
|
static btQuaternion |
inverse(btQuaternion q)
\brief Return the inverse of a quaternion
|
static double |
length(btQuaternion q)
\brief Return the length of a quaternion
|
static btVector3 |
lerp(btVector3 v1,
btVector3 v2,
double t)
\brief Return the linear interpolation between two vectors
|
static btMatrix3x3 |
multiply(btMatrix3x3 m1,
btMatrix3x3 m2) |
static btVector3 |
multiply(btMatrix3x3 m,
btVector3 v) |
static btMatrix3x3 |
multiply(btMatrix3x3 m,
double k) |
static btQuaternion |
multiply(btQuaternion q1,
btQuaternion q2)
\brief Return the product of two quaternions
|
static btQuaternion |
multiply(btQuaternion q,
btVector3 w) |
static btVector3 |
multiply(btVector3 v,
btMatrix3x3 m) |
static btQuaternion |
multiply(btVector3 w,
btQuaternion q) |
static btVector3 |
multiply(btVector3 v1,
btVector3 v2)
\brief Return the elementwise product of two vectors
|
static btVector3 |
multiply(btVector3 v,
double s)
\brief Return the vector scaled by s
|
static btVector3 |
multiply(double s,
btVector3 v)
\brief Return the vector scaled by s
|
static btVector3 |
quatRotate(btQuaternion rotation,
btVector3 v) |
static int |
sBulletDNAlen() |
static void |
sBulletDNAlen(int setter) |
static int |
sBulletDNAlen64() |
static void |
sBulletDNAlen64(int setter) |
static BytePointer |
sBulletDNAstr() |
static byte |
sBulletDNAstr(int i) |
static void |
sBulletDNAstr(int i,
byte setter) |
static BytePointer |
sBulletDNAstr64() |
static byte |
sBulletDNAstr64(int i) |
static void |
sBulletDNAstr64(int i,
byte setter) |
static void |
setElem(btMatrixXd mat,
int row,
int col,
double val)
original version written by Erwin Coumans, October 2013
|
static void |
setElem(btMatrixXf mat,
int row,
int col,
float val) |
static btQuaternion |
shortestArcQuat(btVector3 v0,
btVector3 v1) |
static btQuaternion |
shortestArcQuatNormalize2(btVector3 v0,
btVector3 v1) |
static double |
SIMD_2_PI() |
static double |
SIMD_DEGS_PER_RAD() |
static double |
SIMD_HALF_PI() |
static double |
SIMD_PI() |
static double |
SIMD_RADS_PER_DEG() |
static double |
SIMDSQRT12() |
static btQuaternion |
slerp(btQuaternion q1,
btQuaternion q2,
double t)
\brief Return the result of spherical linear interpolation betwen two quaternions
|
static btMatrix3x3 |
subtract(btMatrix3x3 m1,
btMatrix3x3 m2) |
static btVector3 |
subtract(btVector3 v)
\brief Return the negative of the vector
|
static btVector3 |
subtract(btVector3 v1,
btVector3 v2)
\brief Return the difference between two vectors
|
map
public static final int BT_BULLET_VERSION
public static final double BT_LARGE_FLOAT
public static final double SIMD_PI
public static final double SIMD_2_PI
public static final double SIMD_HALF_PI
public static final double SIMD_RADS_PER_DEG
public static final double SIMD_DEGS_PER_RAD
public static final double SIMDSQRT12
public static final double BT_ONE
public static final double BT_ZERO
public static final double BT_TWO
public static final double BT_HALF
public static final String btVector3DataName
public static final String btQuaternionDataName
public static final int BT_USE_PLACEMENT_NEW
public static final int BT_SERIALIZE_NO_BVH
public static final int BT_SERIALIZE_NO_TRIANGLEINFOMAP
public static final int BT_SERIALIZE_NO_DUPLICATE_ASSERT
public static final int BT_SERIALIZE_CONTACT_MANIFOLDS
public static final int BT_HEADER_LENGTH
public static final int BT_MULTIBODY_CODE
public static final int BT_MB_LINKCOLLIDER_CODE
public static final int BT_SOFTBODY_CODE
public static final int BT_COLLISIONOBJECT_CODE
public static final int BT_RIGIDBODY_CODE
public static final int BT_CONSTRAINT_CODE
public static final int BT_BOXSHAPE_CODE
public static final int BT_QUANTIZED_BVH_CODE
public static final int BT_TRIANLGE_INFO_MAP
public static final int BT_SHAPE_CODE
public static final int BT_ARRAY_CODE
public static final int BT_SBMATERIAL_CODE
public static final int BT_SBNODE_CODE
public static final int BT_DYNAMICSWORLD_CODE
public static final int BT_CONTACTMANIFOLD_CODE
public static final int BT_DNA_CODE
public static final int USE_BT_CLOCK
public static final int BT_NO_PROFILE
public static final int QF_TRIANGLES
public static final int QF_REVERSE_ORDER
public static final int QF_DEFAULT
public static final int QE_OK
public static final int QE_FAIL
public static final double ANGULAR_MOTION_THRESHOLD
public static int btGetVersion()
public static int btIsDoublePrecision()
@Cast(value="btScalar") public static double btAtan2(@Cast(value="btScalar") double x, @Cast(value="btScalar") double y)
@Cast(value="btScalar") public static double btPow(@Cast(value="btScalar") double x, @Cast(value="btScalar") double y)
@Cast(value="btScalar") public static double btFmod(@Cast(value="btScalar") double x, @Cast(value="btScalar") double y)
@MemberGetter public static double SIMD_PI()
@MemberGetter public static double SIMD_2_PI()
@MemberGetter public static double SIMD_HALF_PI()
@MemberGetter public static double SIMD_RADS_PER_DEG()
@MemberGetter public static double SIMD_DEGS_PER_RAD()
@MemberGetter public static double SIMDSQRT12()
@Cast(value="btScalar") public static double btAtan2Fast(@Cast(value="btScalar") double y, @Cast(value="btScalar") double x)
@Cast(value="bool") public static boolean btEqual(@Cast(value="btScalar") double a, @Cast(value="btScalar") double eps)
@Cast(value="bool") public static boolean btGreaterEqual(@Cast(value="btScalar") double a, @Cast(value="btScalar") double eps)
@Cast(value="btScalar") public static double btFsel(@Cast(value="btScalar") double a, @Cast(value="btScalar") double b, @Cast(value="btScalar") double c)
@Cast(value="unsigned") public static int btSelect(@Cast(value="unsigned") int condition, @Cast(value="unsigned") int valueIfConditionNonZero, @Cast(value="unsigned") int valueIfConditionZero)
public static float btSelect(@Cast(value="unsigned") int condition, float valueIfConditionNonZero, float valueIfConditionZero)
@Cast(value="unsigned") public static int btSwapEndian(@Cast(value="unsigned") int val)
@Cast(value="unsigned short") public static short btSwapEndian(@Cast(value="unsigned short") short val)
@Cast(value="unsigned int") public static int btSwapEndianFloat(float d)
public static void btSwapEndianDouble(double d, @Cast(value="unsigned char*") BytePointer dst)
public static void btSwapEndianDouble(double d, @Cast(value="unsigned char*") ByteBuffer dst)
public static void btSwapEndianDouble(double d, @Cast(value="unsigned char*") byte[] dst)
public static double btUnswapEndianDouble(@Cast(value="const unsigned char*") BytePointer src)
public static double btUnswapEndianDouble(@Cast(value="const unsigned char*") ByteBuffer src)
public static double btUnswapEndianDouble(@Cast(value="const unsigned char*") byte[] src)
@Cast(value="btScalar") public static double btLargeDot(@Cast(value="const btScalar*") DoublePointer a, @Cast(value="const btScalar*") DoublePointer b, int n)
@Cast(value="btScalar") public static double btLargeDot(@Cast(value="const btScalar*") DoubleBuffer a, @Cast(value="const btScalar*") DoubleBuffer b, int n)
@Cast(value="btScalar") public static double btLargeDot(@Cast(value="const btScalar*") double[] a, @Cast(value="const btScalar*") double[] b, int n)
@Cast(value="btScalar") public static double btNormalizeAngle(@Cast(value="btScalar") double angleInRadians)
@ByVal @Name(value="operator +") public static btVector3 add(@Const @ByRef btVector3 v1, @Const @ByRef btVector3 v2)
@ByVal @Name(value="operator *") public static btVector3 multiply(@Const @ByRef btVector3 v1, @Const @ByRef btVector3 v2)
@ByVal @Name(value="operator -") public static btVector3 subtract(@Const @ByRef btVector3 v1, @Const @ByRef btVector3 v2)
@ByVal @Name(value="operator -") public static btVector3 subtract(@Const @ByRef btVector3 v)
@ByVal @Name(value="operator *") public static btVector3 multiply(@Const @ByRef btVector3 v, @Cast(value="const btScalar") double s)
@ByVal @Name(value="operator *") public static btVector3 multiply(@Cast(value="const btScalar") double s, @Const @ByRef btVector3 v)
@ByVal @Name(value="operator /") public static btVector3 divide(@Const @ByRef btVector3 v, @Cast(value="const btScalar") double s)
@ByVal @Name(value="operator /") public static btVector3 divide(@Const @ByRef btVector3 v1, @Const @ByRef btVector3 v2)
@Cast(value="btScalar") public static double btDot(@Const @ByRef btVector3 v1, @Const @ByRef btVector3 v2)
@Cast(value="btScalar") public static double btDistance2(@Const @ByRef btVector3 v1, @Const @ByRef btVector3 v2)
@Cast(value="btScalar") public static double btDistance(@Const @ByRef btVector3 v1, @Const @ByRef btVector3 v2)
@Cast(value="btScalar") public static double btAngle(@Const @ByRef btVector3 v1, @Const @ByRef btVector3 v2)
@ByVal public static btVector3 btCross(@Const @ByRef btVector3 v1, @Const @ByRef btVector3 v2)
@Cast(value="btScalar") public static double btTriple(@Const @ByRef btVector3 v1, @Const @ByRef btVector3 v2, @Const @ByRef btVector3 v3)
@ByVal public static btVector3 lerp(@Const @ByRef btVector3 v1, @Const @ByRef btVector3 v2, @Cast(value="const btScalar") double t)
v1
- One vectorv2
- The other vectort
- The ration of this to v (t = 0 => return v1, t=1 => return v2)public static void btSwapScalarEndian(@Cast(value="const btScalar") double sourceVal, @Cast(value="btScalar*") @ByRef DoublePointer destVal)
public static void btSwapScalarEndian(@Cast(value="const btScalar") double sourceVal, @Cast(value="btScalar*") @ByRef DoubleBuffer destVal)
public static void btSwapScalarEndian(@Cast(value="const btScalar") double sourceVal, @Cast(value="btScalar*") @ByRef double[] destVal)
public static void btSwapVector3Endian(@Const @ByRef btVector3 sourceVec, @ByRef btVector3 destVec)
public static void btUnSwapVector3Endian(@ByRef btVector3 vector)
@ByVal @Name(value="operator *") public static btQuaternion multiply(@Const @ByRef btQuaternion q1, @Const @ByRef btQuaternion q2)
@ByVal @Name(value="operator *") public static btQuaternion multiply(@Const @ByRef btQuaternion q, @Const @ByRef btVector3 w)
@ByVal @Name(value="operator *") public static btQuaternion multiply(@Const @ByRef btVector3 w, @Const @ByRef btQuaternion q)
@Cast(value="btScalar") public static double dot(@Const @ByRef btQuaternion q1, @Const @ByRef btQuaternion q2)
@Cast(value="btScalar") public static double length(@Const @ByRef btQuaternion q)
@Cast(value="btScalar") public static double btAngle(@Const @ByRef btQuaternion q1, @Const @ByRef btQuaternion q2)
@ByVal public static btQuaternion inverse(@Const @ByRef btQuaternion q)
@ByVal public static btQuaternion slerp(@Const @ByRef btQuaternion q1, @Const @ByRef btQuaternion q2, @Cast(value="const btScalar") double t)
q1
- The first quaternionq2
- The second quaterniont
- The ration between q1 and q2. t = 0 return q1, t=1 returns q2
Slerp assumes constant velocity between positions.@ByVal public static btVector3 quatRotate(@Const @ByRef btQuaternion rotation, @Const @ByRef btVector3 v)
@ByVal public static btQuaternion shortestArcQuat(@Const @ByRef btVector3 v0, @Const @ByRef btVector3 v1)
@ByVal public static btQuaternion shortestArcQuatNormalize2(@ByRef btVector3 v0, @ByRef btVector3 v1)
@ByVal @Name(value="operator *") public static btMatrix3x3 multiply(@Const @ByRef btMatrix3x3 m, @Cast(value="const btScalar") double k)
@ByVal @Name(value="operator +") public static btMatrix3x3 add(@Const @ByRef btMatrix3x3 m1, @Const @ByRef btMatrix3x3 m2)
@ByVal @Name(value="operator -") public static btMatrix3x3 subtract(@Const @ByRef btMatrix3x3 m1, @Const @ByRef btMatrix3x3 m2)
@ByVal @Name(value="operator *") public static btVector3 multiply(@Const @ByRef btMatrix3x3 m, @Const @ByRef btVector3 v)
@ByVal @Name(value="operator *") public static btVector3 multiply(@Const @ByRef btVector3 v, @Const @ByRef btMatrix3x3 m)
@ByVal @Name(value="operator *") public static btMatrix3x3 multiply(@Const @ByRef btMatrix3x3 m1, @Const @ByRef btMatrix3x3 m2)
@Cast(value="bool") @Name(value="operator ==") public static boolean equals(@Const @ByRef btMatrix3x3 m1, @Const @ByRef btMatrix3x3 m2)
@Cast(value="bool") @Name(value="operator ==") public static boolean equals(@Const @ByRef btTransform t1, @Const @ByRef btTransform t2)
@MemberGetter public static int BT_HASH_NULL()
public static void sBulletDNAstr(int i, byte setter)
@MemberGetter @Cast(value="char*") public static BytePointer sBulletDNAstr()
public static int sBulletDNAlen()
public static void sBulletDNAlen(int setter)
public static void sBulletDNAstr64(int i, byte setter)
@MemberGetter @Cast(value="char*") public static BytePointer sBulletDNAstr64()
public static int sBulletDNAlen64()
public static void sBulletDNAlen64(int setter)
public static int btStrLen(@Cast(value="const char*") BytePointer str)
public static int btStrLen(String str)
@MemberGetter public static int BT_MULTIBODY_CODE()
@MemberGetter public static int BT_MB_LINKCOLLIDER_CODE()
@MemberGetter public static int BT_SOFTBODY_CODE()
@MemberGetter public static int BT_COLLISIONOBJECT_CODE()
@MemberGetter public static int BT_RIGIDBODY_CODE()
@MemberGetter public static int BT_CONSTRAINT_CODE()
@MemberGetter public static int BT_BOXSHAPE_CODE()
@MemberGetter public static int BT_QUANTIZED_BVH_CODE()
@MemberGetter public static int BT_TRIANLGE_INFO_MAP()
@MemberGetter public static int BT_SHAPE_CODE()
@MemberGetter public static int BT_ARRAY_CODE()
@MemberGetter public static int BT_SBMATERIAL_CODE()
@MemberGetter public static int BT_SBNODE_CODE()
@MemberGetter public static int BT_DYNAMICSWORLD_CODE()
@MemberGetter public static int BT_CONTACTMANIFOLD_CODE()
@MemberGetter public static int BT_DNA_CODE()
public static btEnterProfileZoneFunc btGetCurrentEnterProfileZoneFunc()
public static btLeaveProfileZoneFunc btGetCurrentLeaveProfileZoneFunc()
public static void btSetCustomEnterProfileZoneFunc(btEnterProfileZoneFunc enterFunc)
public static void btSetCustomLeaveProfileZoneFunc(btLeaveProfileZoneFunc leaveFunc)
@MemberGetter @Cast(value="const unsigned int") public static int BT_QUICKPROF_MAX_THREAD_COUNT()
@Cast(value="unsigned int") public static int btQuickprofGetCurrentThreadIndex2()
@MemberGetter @Cast(value="const unsigned int") public static int BT_MAX_THREAD_COUNT()
public static void btResetThreadIndexCounter()
public static void btMutexLock(btSpinMutex mutex)
public static void btMutexUnlock(btSpinMutex mutex)
@Cast(value="bool") public static boolean btMutexTryLock(btSpinMutex mutex)
public static void btSetTaskScheduler(btITaskScheduler ts)
public static btITaskScheduler btGetTaskScheduler()
public static btITaskScheduler btGetSequentialTaskScheduler()
public static btITaskScheduler btCreateDefaultTaskScheduler()
public static btITaskScheduler btGetOpenMPTaskScheduler()
public static btITaskScheduler btGetTBBTaskScheduler()
public static btITaskScheduler btGetPPLTaskScheduler()
public static void btParallelFor(int iBegin, int iEnd, int grainSize, @Const @ByRef btIParallelForBody body)
@Cast(value="btScalar") public static double btParallelSum(int iBegin, int iEnd, int grainSize, @Const @ByRef btIParallelSumBody body)
public static Pointer btAlignedAllocInternal(@Cast(value="size_t") long size, int alignment)
public static void btAlignedFreeInternal(Pointer ptr)
public static void btAlignedAllocSetCustom(btAllocFunc allocFunc, btFreeFunc freeFunc)
public static void btAlignedAllocSetCustomAligned(btAlignedAllocFunc allocFunc, btAlignedFreeFunc freeFunc)
@MemberGetter public static double ANGULAR_MOTION_THRESHOLD()
@ByVal public static btVector3 btAabbSupport(@Const @ByRef btVector3 halfExtents, @Const @ByRef btVector3 supportDir)
public static void setElem(@ByRef btMatrixXd mat, int row, int col, double val)
public static void setElem(@ByRef btMatrixXf mat, int row, int col, float val)
Copyright © 2024. All rights reserved.