|
RavEngine
|
A padded version of PxMat33, to safely load its data using SIMD. More...
#include <PxSIMDHelpers.h>
Public Member Functions | |
| PX_FORCE_INLINE | PxMat33Padded (const PxQuat &q) |
| PX_FORCE_INLINE void | operator= (const PxMat33 &other) |
Public Member Functions inherited from physx::PxMat33 | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE | PxMat33 () |
| Default constructor. | |
| PX_CUDA_CALLABLE PX_INLINE | PxMat33 (PxIDENTITY r) |
| identity constructor | |
| PX_CUDA_CALLABLE PX_INLINE | PxMat33 (PxZERO r) |
| zero constructor | |
| PX_CUDA_CALLABLE | PxMat33 (const PxVec3 &col0, const PxVec3 &col1, const PxVec3 &col2) |
| Construct from three base vectors. | |
| PX_CUDA_CALLABLE PX_INLINE | PxMat33 (float r) |
| constructor from a scalar, which generates a multiple of the identity matrix | |
| PX_CUDA_CALLABLE PX_INLINE | PxMat33 (float values[]) |
| Construct from float[9]. | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE | PxMat33 (const PxQuat &q) |
| Construct from a quaternion. | |
| PX_CUDA_CALLABLE PX_INLINE | PxMat33 (const PxMat33 &other) |
| Copy constructor. | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE PxMat33 & | operator= (const PxMat33 &other) |
| Assignment operator. | |
| PX_CUDA_CALLABLE PX_INLINE bool | operator== (const PxMat33 &m) const |
| returns true if the two matrices are exactly equal | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE const PxMat33 | getTranspose () const |
| Get transposed matrix. | |
| PX_CUDA_CALLABLE PX_INLINE const PxMat33 | getInverse () const |
| Get the real inverse. | |
| PX_CUDA_CALLABLE PX_INLINE float | getDeterminant () const |
| Get determinant. | |
| PX_CUDA_CALLABLE PX_INLINE const PxMat33 | operator- () const |
| Unary minus. | |
| PX_CUDA_CALLABLE PX_INLINE const PxMat33 | operator+ (const PxMat33 &other) const |
| Add. | |
| PX_CUDA_CALLABLE PX_INLINE const PxMat33 | operator- (const PxMat33 &other) const |
| Subtract. | |
| PX_CUDA_CALLABLE PX_INLINE const PxMat33 | operator* (float scalar) const |
| Scalar multiplication. | |
| PX_CUDA_CALLABLE PX_INLINE const PxVec3 | operator* (const PxVec3 &vec) const |
| Matrix vector multiplication (returns 'this->transform(vec)') | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE const PxMat33 | operator* (const PxMat33 &other) const |
| Matrix multiplication. | |
| PX_CUDA_CALLABLE PX_INLINE PxMat33 & | operator+= (const PxMat33 &other) |
| Equals-add. | |
| PX_CUDA_CALLABLE PX_INLINE PxMat33 & | operator-= (const PxMat33 &other) |
| Equals-sub. | |
| PX_CUDA_CALLABLE PX_INLINE PxMat33 & | operator*= (float scalar) |
| Equals scalar multiplication. | |
| PX_CUDA_CALLABLE PX_INLINE PxMat33 & | operator*= (const PxMat33 &other) |
| Equals matrix multiplication. | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE float | operator() (unsigned int row, unsigned int col) const |
| Element access, mathematical way! | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE float & | operator() (unsigned int row, unsigned int col) |
| Element access, mathematical way! | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE const PxVec3 | transform (const PxVec3 &other) const |
| Transform vector by matrix, equal to v' = M*v. | |
| PX_CUDA_CALLABLE PX_INLINE const PxVec3 | transformTranspose (const PxVec3 &other) const |
| Transform vector by matrix transpose, v' = M^t*v. | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE const float * | front () const |
| PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec3 & | operator[] (unsigned int num) |
| PX_CUDA_CALLABLE PX_FORCE_INLINE const PxVec3 & | operator[] (unsigned int num) const |
Public Attributes | |
| PxU32 | padding |
Public Attributes inherited from physx::PxMat33 | |
| PxVec3 | column0 |
| PxVec3 | column1 |
| PxVec3 | column2 |
Additional Inherited Members | |
Static Public Member Functions inherited from physx::PxMat33 | |
| PX_CUDA_CALLABLE static PX_INLINE const PxMat33 | createDiagonal (const PxVec3 &d) |
| Construct from diagonal, off-diagonals are zero. | |
A padded version of PxMat33, to safely load its data using SIMD.