aos::PxTransformV

Defined in include/foundation/PxVecTransform.h

class PxTransformV

Public Functions

inline PxTransformV(const PxTransform &orientation)
inline PxTransformV(const Vec3VArg p0 = V3Zero(), const QuatVArg q0 = QuatIdentity())
inline PxTransformV operator*(const PxTransformV &x) const
inline PxTransformV getInverse() const
inline void normalize()
inline void Invalidate()
inline Vec3V transform(const Vec3VArg input) const
inline Vec3V transformInv(const Vec3VArg input) const
inline Vec3V rotate(const Vec3VArg input) const
inline Vec3V rotateInv(const Vec3VArg input) const
inline PxTransformV transform(const PxTransformV &src) const

Transform transform to parent (returns compound transform: first src, then *this)

inline bool isValid() const

returns true if finite and q is a unit quaternion

inline bool isSane() const

returns true if finite and quat magnitude is reasonably close to unit to allow for some accumulation of error vs isValid

inline bool isFinite() const

returns true if all elems are finite (not NAN or INF, etc.)

inline PxTransformV transformInv(const PxTransformV &src) const

Transform transform from parent (returns compound transform: first src, then this->inverse)

Public Members

QuatV q
Vec3V p

Public Static Functions

static inline PxTransformV createIdentity()