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

Sphere representation used for cloth-sphere and cloth-capsule collision. More...

#include <PxClothCollisionData.h>

Collaboration diagram for PxClothCollisionSphere:
Collaboration graph
[legend]

Public Member Functions

 PxClothCollisionSphere ()
 Default constructor, performs no initialization. More...
 
 PxClothCollisionSphere (const PxVec3 &p, PxReal r)
 

Public Attributes

PxVec3 pos
 position of the sphere More...
 
PxReal radius
 radius of the sphere. More...
 

Detailed Description

Sphere representation used for cloth-sphere and cloth-capsule collision.

Cloth can collide with spheres and capsules. Each capsule is represented by a pair of spheres with possibly different radii.

Constructor & Destructor Documentation

PxClothCollisionSphere::PxClothCollisionSphere ( )
inline

Default constructor, performs no initialization.

PxClothCollisionSphere::PxClothCollisionSphere ( const PxVec3 p,
PxReal  r 
)
inline

Member Data Documentation

PxVec3 PxClothCollisionSphere::pos

position of the sphere

PxReal PxClothCollisionSphere::radius

radius of the sphere.


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