PxClothCollisionSphere Struct Reference
[Cloth]

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

#include <PxClothCollisionData.h>

Collaboration diagram for PxClothCollisionSphere:

Collaboration graph
PxVec3
[legend]

List of all members.

Public Member Functions

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

Public Attributes

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


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

position of the sphere

radius of the sphere.


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