PxDebugTriangle Struct Reference

Used to store a single triangle and colour for debug rendering. More...

#include <PxRenderBuffer.h>

Collaboration diagram for PxDebugTriangle:

Public Member Functions

 PxDebugTriangle (const PxVec3 &p0, const PxVec3 &p1, const PxVec3 &p2, const PxU32 &c)
 

Public Attributes

PxVec3 pos0
 
PxU32 color0
 
PxVec3 pos1
 
PxU32 color1
 
PxVec3 pos2
 
PxU32 color2
 

Detailed Description

Used to store a single triangle and colour for debug rendering.

Constructor & Destructor Documentation

◆ PxDebugTriangle()

PxDebugTriangle::PxDebugTriangle ( const PxVec3 p0,
const PxVec3 p1,
const PxVec3 p2,
const PxU32 c 
)
inline

Member Data Documentation

◆ color0

PxU32 PxDebugTriangle::color0

◆ color1

PxU32 PxDebugTriangle::color1

◆ color2

PxU32 PxDebugTriangle::color2

◆ pos0

PxVec3 PxDebugTriangle::pos0

◆ pos1

PxVec3 PxDebugTriangle::pos1

◆ pos2

PxVec3 PxDebugTriangle::pos2

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