C# Class BulletCSharp.LinearMath

Exibir arquivo Open project: sanglin307/BulletUnity3D

Public Properties

Property Type Description
BT_BULLET_VERSION int
BT_HEADER_LENGTH int
BT_LARGE_FLOAT double
BT_USE_PLACEMENT_NEW int
USE_BANCHLESS int
USE_BT_CLOCK int
btVector3DataName string

Public Methods

Method Description
AabbExpand ( btVector3 aabbMin, btVector3 aabbMax, btVector3 expansionMin, btVector3 expansionMax ) : void
GEN_rand ( ) : uint
GEN_srand ( uint seed ) : void
GrahamScanConvexHull2D ( SWIGTYPE_p_btAlignedObjectArrayT_GrahamVector3_t originalPoints, SWIGTYPE_p_btAlignedObjectArrayT_GrahamVector3_t hull, btVector3 normalAxis ) : void
TestAabbAgainstAabb2 ( btVector3 aabbMin1, btVector3 aabbMax1, btVector3 aabbMin2, btVector3 aabbMax2 ) : bool
TestPointAgainstAabb2 ( btVector3 aabbMin1, btVector3 aabbMax1, btVector3 point ) : bool
TestTriangleAgainstAabb2 ( btVector3 vertices, btVector3 aabbMin, btVector3 aabbMax ) : bool
btAabbSupport ( btVector3 halfExtents, btVector3 supportDir ) : btVector3
btAcos ( float x ) : float
btAlignedAllocInternal ( uint size, int alignment ) : SWIGTYPE_p_void
btAlignedAllocSetCustom ( SWIGTYPE_p_f_size_t__p_void allocFunc, SWIGTYPE_p_f_p_void__void freeFunc ) : void
btAlignedAllocSetCustomAligned ( SWIGTYPE_p_f_size_t_int__p_void allocFunc, SWIGTYPE_p_f_p_void__void freeFunc ) : void
btAlignedFreeInternal ( SWIGTYPE_p_void ptr ) : void
btAngle ( btQuaternion q1, btQuaternion q2 ) : float
btAngle ( btVector3 v1, btVector3 v2 ) : float
btAsin ( float x ) : float
btAtan ( float x ) : float
btAtan2 ( float x, float y ) : float
btAtan2Fast ( float y, float x ) : float
btCos ( float x ) : float
btCross ( btVector3 v1, btVector3 v2 ) : btVector3
btDegrees ( float x ) : float
btDistance ( btVector3 v1, btVector3 v2 ) : float
btDistance2 ( btVector3 v1, btVector3 v2 ) : float
btDot ( btVector3 v1, btVector3 v2 ) : float
btEqual ( float a, float eps ) : bool
btExp ( float x ) : float
btFabs ( float x ) : float
btFmod ( float x, float y ) : float
btFsel ( float a, float b, float c ) : float
btFuzzyZero ( float x ) : bool
btGetVersion ( ) : int
btGreaterEqual ( float a, float eps ) : bool
btIsNegative ( float x ) : int
btLog ( float x ) : float
btMachineIsLittleEndian ( ) : bool
btNormalizeAngle ( float angleInRadians ) : float
btOutcode ( btVector3 p, btVector3 halfExtent ) : int
btPow ( float x, float y ) : float
btRadians ( float x ) : float
btRayAabb ( btVector3 rayFrom, btVector3 rayTo, btVector3 aabbMin, btVector3 aabbMax, SWIGTYPE_p_float param, btVector3 normal ) : bool
btRayAabb2 ( btVector3 rayFrom, btVector3 rayInvDirection, SWIGTYPE_p_unsigned_int raySign, btVector3 bounds, SWIGTYPE_p_float tmin, float lambda_min, float lambda_max ) : bool
btSelect ( uint condition, float valueIfConditionNonZero, float valueIfConditionZero ) : float
btSelect ( uint condition, int valueIfConditionNonZero, int valueIfConditionZero ) : int
btSelect ( uint condition, uint valueIfConditionNonZero, uint valueIfConditionZero ) : uint
btSin ( float x ) : float
btSqrt ( float y ) : float
btStrLen ( string str ) : int
btSwapEndian ( int val ) : uint
btSwapEndian ( uint val ) : uint
btSwapEndian ( short val ) : ushort
btSwapEndian ( ushort val ) : ushort
btSwapEndianDouble ( double d, SWIGTYPE_p_unsigned_char dst ) : void
btSwapEndianFloat ( float d ) : uint
btSwapScalarEndian ( float sourceVal, SWIGTYPE_p_float destVal ) : void
btSwapVector3Endian ( btVector3 sourceVec, btVector3 destVec ) : void
btTan ( float x ) : float
btTransformAabb ( btVector3 localAabbMin, btVector3 localAabbMax, float margin, btTransform trans, btVector3 aabbMinOut, btVector3 aabbMaxOut ) : void
btTransformAabb ( btVector3 halfExtents, float margin, btTransform t, btVector3 aabbMinOut, btVector3 aabbMaxOut ) : void
btTriple ( btVector3 v1, btVector3 v2, btVector3 v3 ) : float
btUnSwapVector3Endian ( btVector3 vector ) : void
btUnswapEndianDouble ( SWIGTYPE_p_unsigned_char src ) : double
btUnswapEndianFloat ( uint a ) : float
dot ( btQuaternion q1, btQuaternion q2 ) : float
inverse ( btQuaternion q ) : btQuaternion
length ( btQuaternion q ) : float
lerp ( btVector3 v1, btVector3 v2, float t ) : btVector3
polarDecompose ( btMatrix3x3 a, btMatrix3x3 u, btMatrix3x3 h ) : uint
quatRotate ( btQuaternion rotation, btVector3 v ) : btVector3
shortestArcQuat ( btVector3 v0, btVector3 v1 ) : btQuaternion
shortestArcQuatNormalize2 ( btVector3 v0, btVector3 v1 ) : btQuaternion
slerp ( btQuaternion q1, btQuaternion q2, float t ) : btQuaternion
testQuantizedAabbAgainstQuantizedAabb ( SWIGTYPE_p_unsigned_short aabbMin1, SWIGTYPE_p_unsigned_short aabbMax1, SWIGTYPE_p_unsigned_short aabbMin2, SWIGTYPE_p_unsigned_short aabbMax2 ) : uint

Method Details

AabbExpand() public static method

public static AabbExpand ( btVector3 aabbMin, btVector3 aabbMax, btVector3 expansionMin, btVector3 expansionMax ) : void
aabbMin btVector3
aabbMax btVector3
expansionMin btVector3
expansionMax btVector3
return void

GEN_rand() public static method

public static GEN_rand ( ) : uint
return uint

GEN_srand() public static method

public static GEN_srand ( uint seed ) : void
seed uint
return void

GrahamScanConvexHull2D() public static method

public static GrahamScanConvexHull2D ( SWIGTYPE_p_btAlignedObjectArrayT_GrahamVector3_t originalPoints, SWIGTYPE_p_btAlignedObjectArrayT_GrahamVector3_t hull, btVector3 normalAxis ) : void
originalPoints SWIGTYPE_p_btAlignedObjectArrayT_GrahamVector3_t
hull SWIGTYPE_p_btAlignedObjectArrayT_GrahamVector3_t
normalAxis btVector3
return void

TestAabbAgainstAabb2() public static method

public static TestAabbAgainstAabb2 ( btVector3 aabbMin1, btVector3 aabbMax1, btVector3 aabbMin2, btVector3 aabbMax2 ) : bool
aabbMin1 btVector3
aabbMax1 btVector3
aabbMin2 btVector3
aabbMax2 btVector3
return bool

TestPointAgainstAabb2() public static method

public static TestPointAgainstAabb2 ( btVector3 aabbMin1, btVector3 aabbMax1, btVector3 point ) : bool
aabbMin1 btVector3
aabbMax1 btVector3
point btVector3
return bool

TestTriangleAgainstAabb2() public static method

public static TestTriangleAgainstAabb2 ( btVector3 vertices, btVector3 aabbMin, btVector3 aabbMax ) : bool
vertices btVector3
aabbMin btVector3
aabbMax btVector3
return bool

btAabbSupport() public static method

public static btAabbSupport ( btVector3 halfExtents, btVector3 supportDir ) : btVector3
halfExtents btVector3
supportDir btVector3
return btVector3

btAcos() public static method

public static btAcos ( float x ) : float
x float
return float

btAlignedAllocInternal() public static method

public static btAlignedAllocInternal ( uint size, int alignment ) : SWIGTYPE_p_void
size uint
alignment int
return SWIGTYPE_p_void

btAlignedAllocSetCustom() public static method

public static btAlignedAllocSetCustom ( SWIGTYPE_p_f_size_t__p_void allocFunc, SWIGTYPE_p_f_p_void__void freeFunc ) : void
allocFunc SWIGTYPE_p_f_size_t__p_void
freeFunc SWIGTYPE_p_f_p_void__void
return void

btAlignedAllocSetCustomAligned() public static method

public static btAlignedAllocSetCustomAligned ( SWIGTYPE_p_f_size_t_int__p_void allocFunc, SWIGTYPE_p_f_p_void__void freeFunc ) : void
allocFunc SWIGTYPE_p_f_size_t_int__p_void
freeFunc SWIGTYPE_p_f_p_void__void
return void

btAlignedFreeInternal() public static method

public static btAlignedFreeInternal ( SWIGTYPE_p_void ptr ) : void
ptr SWIGTYPE_p_void
return void

btAngle() public static method

public static btAngle ( btQuaternion q1, btQuaternion q2 ) : float
q1 btQuaternion
q2 btQuaternion
return float

btAngle() public static method

public static btAngle ( btVector3 v1, btVector3 v2 ) : float
v1 btVector3
v2 btVector3
return float

btAsin() public static method

public static btAsin ( float x ) : float
x float
return float

btAtan() public static method

public static btAtan ( float x ) : float
x float
return float

btAtan2() public static method

public static btAtan2 ( float x, float y ) : float
x float
y float
return float

btAtan2Fast() public static method

public static btAtan2Fast ( float y, float x ) : float
y float
x float
return float

btCos() public static method

public static btCos ( float x ) : float
x float
return float

btCross() public static method

public static btCross ( btVector3 v1, btVector3 v2 ) : btVector3
v1 btVector3
v2 btVector3
return btVector3

btDegrees() public static method

public static btDegrees ( float x ) : float
x float
return float

btDistance() public static method

public static btDistance ( btVector3 v1, btVector3 v2 ) : float
v1 btVector3
v2 btVector3
return float

btDistance2() public static method

public static btDistance2 ( btVector3 v1, btVector3 v2 ) : float
v1 btVector3
v2 btVector3
return float

btDot() public static method

public static btDot ( btVector3 v1, btVector3 v2 ) : float
v1 btVector3
v2 btVector3
return float

btEqual() public static method

public static btEqual ( float a, float eps ) : bool
a float
eps float
return bool

btExp() public static method

public static btExp ( float x ) : float
x float
return float

btFabs() public static method

public static btFabs ( float x ) : float
x float
return float

btFmod() public static method

public static btFmod ( float x, float y ) : float
x float
y float
return float

btFsel() public static method

public static btFsel ( float a, float b, float c ) : float
a float
b float
c float
return float

btFuzzyZero() public static method

public static btFuzzyZero ( float x ) : bool
x float
return bool

btGetVersion() public static method

public static btGetVersion ( ) : int
return int

btGreaterEqual() public static method

public static btGreaterEqual ( float a, float eps ) : bool
a float
eps float
return bool

btIsNegative() public static method

public static btIsNegative ( float x ) : int
x float
return int

btLog() public static method

public static btLog ( float x ) : float
x float
return float

btMachineIsLittleEndian() public static method

public static btMachineIsLittleEndian ( ) : bool
return bool

btNormalizeAngle() public static method

public static btNormalizeAngle ( float angleInRadians ) : float
angleInRadians float
return float

btOutcode() public static method

public static btOutcode ( btVector3 p, btVector3 halfExtent ) : int
p btVector3
halfExtent btVector3
return int

btPow() public static method

public static btPow ( float x, float y ) : float
x float
y float
return float

btRadians() public static method

public static btRadians ( float x ) : float
x float
return float

btRayAabb() public static method

public static btRayAabb ( btVector3 rayFrom, btVector3 rayTo, btVector3 aabbMin, btVector3 aabbMax, SWIGTYPE_p_float param, btVector3 normal ) : bool
rayFrom btVector3
rayTo btVector3
aabbMin btVector3
aabbMax btVector3
param SWIGTYPE_p_float
normal btVector3
return bool

btRayAabb2() public static method

public static btRayAabb2 ( btVector3 rayFrom, btVector3 rayInvDirection, SWIGTYPE_p_unsigned_int raySign, btVector3 bounds, SWIGTYPE_p_float tmin, float lambda_min, float lambda_max ) : bool
rayFrom btVector3
rayInvDirection btVector3
raySign SWIGTYPE_p_unsigned_int
bounds btVector3
tmin SWIGTYPE_p_float
lambda_min float
lambda_max float
return bool

btSelect() public static method

public static btSelect ( uint condition, float valueIfConditionNonZero, float valueIfConditionZero ) : float
condition uint
valueIfConditionNonZero float
valueIfConditionZero float
return float

btSelect() public static method

public static btSelect ( uint condition, int valueIfConditionNonZero, int valueIfConditionZero ) : int
condition uint
valueIfConditionNonZero int
valueIfConditionZero int
return int

btSelect() public static method

public static btSelect ( uint condition, uint valueIfConditionNonZero, uint valueIfConditionZero ) : uint
condition uint
valueIfConditionNonZero uint
valueIfConditionZero uint
return uint

btSin() public static method

public static btSin ( float x ) : float
x float
return float

btSqrt() public static method

public static btSqrt ( float y ) : float
y float
return float

btStrLen() public static method

public static btStrLen ( string str ) : int
str string
return int

btSwapEndian() public static method

public static btSwapEndian ( int val ) : uint
val int
return uint

btSwapEndian() public static method

public static btSwapEndian ( uint val ) : uint
val uint
return uint

btSwapEndian() public static method

public static btSwapEndian ( short val ) : ushort
val short
return ushort

btSwapEndian() public static method

public static btSwapEndian ( ushort val ) : ushort
val ushort
return ushort

btSwapEndianDouble() public static method

public static btSwapEndianDouble ( double d, SWIGTYPE_p_unsigned_char dst ) : void
d double
dst SWIGTYPE_p_unsigned_char
return void

btSwapEndianFloat() public static method

public static btSwapEndianFloat ( float d ) : uint
d float
return uint

btSwapScalarEndian() public static method

public static btSwapScalarEndian ( float sourceVal, SWIGTYPE_p_float destVal ) : void
sourceVal float
destVal SWIGTYPE_p_float
return void

btSwapVector3Endian() public static method

public static btSwapVector3Endian ( btVector3 sourceVec, btVector3 destVec ) : void
sourceVec btVector3
destVec btVector3
return void

btTan() public static method

public static btTan ( float x ) : float
x float
return float

btTransformAabb() public static method

public static btTransformAabb ( btVector3 localAabbMin, btVector3 localAabbMax, float margin, btTransform trans, btVector3 aabbMinOut, btVector3 aabbMaxOut ) : void
localAabbMin btVector3
localAabbMax btVector3
margin float
trans btTransform
aabbMinOut btVector3
aabbMaxOut btVector3
return void

btTransformAabb() public static method

public static btTransformAabb ( btVector3 halfExtents, float margin, btTransform t, btVector3 aabbMinOut, btVector3 aabbMaxOut ) : void
halfExtents btVector3
margin float
t btTransform
aabbMinOut btVector3
aabbMaxOut btVector3
return void

btTriple() public static method

public static btTriple ( btVector3 v1, btVector3 v2, btVector3 v3 ) : float
v1 btVector3
v2 btVector3
v3 btVector3
return float

btUnSwapVector3Endian() public static method

public static btUnSwapVector3Endian ( btVector3 vector ) : void
vector btVector3
return void

btUnswapEndianDouble() public static method

public static btUnswapEndianDouble ( SWIGTYPE_p_unsigned_char src ) : double
src SWIGTYPE_p_unsigned_char
return double

btUnswapEndianFloat() public static method

public static btUnswapEndianFloat ( uint a ) : float
a uint
return float

dot() public static method

public static dot ( btQuaternion q1, btQuaternion q2 ) : float
q1 btQuaternion
q2 btQuaternion
return float

inverse() public static method

public static inverse ( btQuaternion q ) : btQuaternion
q btQuaternion
return btQuaternion

length() public static method

public static length ( btQuaternion q ) : float
q btQuaternion
return float

lerp() public static method

public static lerp ( btVector3 v1, btVector3 v2, float t ) : btVector3
v1 btVector3
v2 btVector3
t float
return btVector3

polarDecompose() public static method

public static polarDecompose ( btMatrix3x3 a, btMatrix3x3 u, btMatrix3x3 h ) : uint
a btMatrix3x3
u btMatrix3x3
h btMatrix3x3
return uint

quatRotate() public static method

public static quatRotate ( btQuaternion rotation, btVector3 v ) : btVector3
rotation btQuaternion
v btVector3
return btVector3

shortestArcQuat() public static method

public static shortestArcQuat ( btVector3 v0, btVector3 v1 ) : btQuaternion
v0 btVector3
v1 btVector3
return btQuaternion

shortestArcQuatNormalize2() public static method

public static shortestArcQuatNormalize2 ( btVector3 v0, btVector3 v1 ) : btQuaternion
v0 btVector3
v1 btVector3
return btQuaternion

slerp() public static method

public static slerp ( btQuaternion q1, btQuaternion q2, float t ) : btQuaternion
q1 btQuaternion
q2 btQuaternion
t float
return btQuaternion

testQuantizedAabbAgainstQuantizedAabb() public static method

public static testQuantizedAabbAgainstQuantizedAabb ( SWIGTYPE_p_unsigned_short aabbMin1, SWIGTYPE_p_unsigned_short aabbMax1, SWIGTYPE_p_unsigned_short aabbMin2, SWIGTYPE_p_unsigned_short aabbMax2 ) : uint
aabbMin1 SWIGTYPE_p_unsigned_short
aabbMax1 SWIGTYPE_p_unsigned_short
aabbMin2 SWIGTYPE_p_unsigned_short
aabbMax2 SWIGTYPE_p_unsigned_short
return uint

Property Details

BT_BULLET_VERSION public_oe static_oe property

public static int BT_BULLET_VERSION
return int

BT_HEADER_LENGTH public_oe static_oe property

public static int BT_HEADER_LENGTH
return int

BT_LARGE_FLOAT public_oe static_oe property

public static double BT_LARGE_FLOAT
return double

BT_USE_PLACEMENT_NEW public_oe static_oe property

public static int BT_USE_PLACEMENT_NEW
return int

USE_BANCHLESS public_oe static_oe property

public static int USE_BANCHLESS
return int

USE_BT_CLOCK public_oe static_oe property

public static int USE_BT_CLOCK
return int

btVector3DataName public_oe static_oe property

public static string btVector3DataName
return string