RavEngine
Loading...
Searching...
No Matches
physx::PxTrianglePadded Class Reference

A padded version of PxTriangle, to safely load its data using SIMD. More...

#include <PxTriangle.h>

Inheritance diagram for physx::PxTrianglePadded:
[legend]
Collaboration diagram for physx::PxTrianglePadded:
[legend]

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
 

Detailed Description

A padded version of PxTriangle, to safely load its data using SIMD.


The documentation for this class was generated from the following file: