NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxDebugTriangle Struct Reference

NVIDIA PhysX SDK 3.4 API

PxDebugTriangle Struct Reference
[Common]

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

#include <PxRenderBuffer.h>

Collaboration diagram for PxDebugTriangle:

List of all members.


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 ( const PxVec3 p0,
const PxVec3 p1,
const PxVec3 p2,
const PxU32 c 
) [inline]


Member Data Documentation


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



Copyright © 2008-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com