Public Member Functions | Public Attributes | List of all members
PxClothCollisionPlane Struct Reference

Plane representation used for cloth-convex collision. More...

#include <PxClothCollisionData.h>

Collaboration diagram for PxClothCollisionPlane:
Collaboration graph
[legend]

Public Member Functions

 PxClothCollisionPlane ()
 Default constructor, performs no initialization. More...
 
 PxClothCollisionPlane (const PxVec3 &normal_, PxReal distance_)
 

Public Attributes

PxVec3 normal
 The normal to the plane. More...
 
PxReal distance
 The distance to the origin (in the normal direction) More...
 

Detailed Description

Plane representation used for cloth-convex collision.

Cloth can collide with convexes. Each convex is represented by a mask of the planes that make up the convex.

Constructor & Destructor Documentation

PxClothCollisionPlane::PxClothCollisionPlane ( )
inline

Default constructor, performs no initialization.

PxClothCollisionPlane::PxClothCollisionPlane ( const PxVec3 normal_,
PxReal  distance_ 
)
inline

Member Data Documentation

PxReal PxClothCollisionPlane::distance

The distance to the origin (in the normal direction)

PxVec3 PxClothCollisionPlane::normal

The normal to the plane.


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


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