public class btQuaternion extends BulletBase
className| Constructor and Description |
|---|
btQuaternion() |
btQuaternion(float yaw,
float pitch,
float roll) |
btQuaternion(float _x,
float _y,
float _z,
float _w) |
btQuaternion(long cPtr,
boolean cMemoryOwn)
Construct a new btQuaternion, normally you should not need this constructor it's intended for low-level usage.
|
btQuaternion(Vector3 _axis,
float _angle) |
| Modifier and Type | Method and Description |
|---|---|
float |
angle(Quaternion q) |
float |
angleShortestPath(Quaternion q) |
void |
deSerialize(btQuaternionFloatData dataIn) |
void |
deSerializeDouble(btQuaternionDoubleData dataIn) |
void |
deSerializeFloat(btQuaternionFloatData dataIn) |
float |
dot(Quaternion q) |
Quaternion |
farthest(Quaternion qd) |
float |
getAngle() |
float |
getAngleShortestPath() |
Vector3 |
getAxis() |
static long |
getCPtr(btQuaternion obj) |
static Quaternion |
getIdentity() |
float |
getW() |
Quaternion |
inverse() |
float |
length() |
float |
length2() |
Quaternion |
nearest(Quaternion qd) |
Quaternion |
normalize() |
Quaternion |
normalized() |
void |
serialize(btQuaternionFloatData dataOut) |
void |
serializeDouble(btQuaternionDoubleData dataOut) |
void |
serializeFloat(btQuaternionFloatData dataOut) |
void |
setEuler(float yaw,
float pitch,
float roll) |
void |
setEulerZYX(float yaw,
float pitch,
float roll) |
void |
setRotation(Vector3 axis,
float _angle) |
Quaternion |
slerp(Quaternion q,
float t) |
dispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btQuaternion(long cPtr,
boolean cMemoryOwn)
public btQuaternion()
public btQuaternion(float _x,
float _y,
float _z,
float _w)
public btQuaternion(Vector3 _axis, float _angle)
public btQuaternion(float yaw,
float pitch,
float roll)
public static long getCPtr(btQuaternion obj)
public void setRotation(Vector3 axis, float _angle)
public void setEuler(float yaw,
float pitch,
float roll)
public void setEulerZYX(float yaw,
float pitch,
float roll)
public float dot(Quaternion q)
public float length2()
public float length()
public Quaternion normalize()
public Quaternion normalized()
public float angle(Quaternion q)
public float angleShortestPath(Quaternion q)
public float getAngle()
public float getAngleShortestPath()
public Vector3 getAxis()
public Quaternion inverse()
public Quaternion farthest(Quaternion qd)
public Quaternion nearest(Quaternion qd)
public Quaternion slerp(Quaternion q, float t)
public static Quaternion getIdentity()
public float getW()
public void serialize(btQuaternionFloatData dataOut)
public void deSerialize(btQuaternionFloatData dataIn)
public void serializeFloat(btQuaternionFloatData dataOut)
public void deSerializeFloat(btQuaternionFloatData dataIn)
public void serializeDouble(btQuaternionDoubleData dataOut)
public void deSerializeDouble(btQuaternionDoubleData dataIn)
Copyright © 2017. All rights reserved.