|
RavEngine
|
A padded version of PxTriangle, to safely load its data using SIMD. More...
#include <PxTriangle.h>
Public Attributes | |
| PxU32 | padding |
Public Attributes inherited from physx::PxTriangle | |
| PxVec3 | verts [3] |
| Array of Vertices. | |
Additional Inherited Members | |
Public Member Functions inherited from physx::PxTriangle | |
| PX_FORCE_INLINE | PxTriangle () |
| Constructor. | |
| PX_FORCE_INLINE | PxTriangle (const PxVec3 &p0, const PxVec3 &p1, const PxVec3 &p2) |
| Constructor. | |
| PX_FORCE_INLINE | PxTriangle (const PxTriangle &triangle) |
| Copy constructor. | |
| PX_FORCE_INLINE | ~PxTriangle () |
| Destructor. | |
| PX_FORCE_INLINE void | operator= (const PxTriangle &triangle) |
| Assignment operator. | |
| PX_FORCE_INLINE void | normal (PxVec3 &_normal) const |
| Compute the normal of the Triangle. | |
| PX_FORCE_INLINE void | denormalizedNormal (PxVec3 &_normal) const |
| Compute the unnormalized normal of the triangle. | |
| PX_FORCE_INLINE PxReal | area () const |
| Compute the area of the triangle. | |
| PX_FORCE_INLINE PxVec3 | pointFromUV (PxReal u, PxReal v) const |
A padded version of PxTriangle, to safely load its data using SIMD.