Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RpCollisionTriangle Struct Reference
[RpCollision]

Collaboration diagram for RpCollisionTriangle:
Collaboration graph

Data Fields

RwV3d  normal
RwV3d  point
RwInt32  index
RwV3d vertices [3]

Detailed Description

A structure representing a collision between an RpIntersection primitive and a triangle. The collision is specified by the triangle's plane normal (normal), the first triangle vertex (point), an index to the triangle in the object geometry's triangle list (index) and the positions of the triangle's vertices (vertices). Note all vector components are in object space.
See also:
RpCollisionWorldForAllIntersections , RpCollisionGeometryForAllIntersections , RpAtomicForAllIntersections , RpIntersectionCallBackWorldTriangle , RpIntersectionCallBackGeometryTriangle

Field Documentation

RwInt32 index
 

Index of triangle in object (if applicable)

RwV3d normal
 

Triangle normal

RwV3d point
 

First triangle vertex

RwV3d* vertices[3]
 

Pointers to three triangle vertices


Criterion Software © 1993-2003 Criterion Software Limited. All rights reserved. Built Tue Apr 22 12:46:05 2003. Send Feedback
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)