Represents a point of intersection on the mesh. More...
#import <CC3Mesh.h>
Protected Attributes | |
CC3BarycentricWeights | barycentricLocation |
GLfloat | distance |
CC3Face | face |
GLuint | faceIndex |
CC3Plane | facePlane |
CC3Vector | location |
BOOL | wasBackFace: 1 |
Represents a point of intersection on the mesh.
This might represent an intersection point between this mesh and a ray or another mesh.
- (CC3BarycentricWeights) barycentricLocation [protected] |
The location of the intersection, in barycentric coordinates.
- (GLfloat) distance [protected] |
The distance from the startLocation of the ray to the intersection location.
- (GLuint) faceIndex [protected] |
The index of the face that was intersected.
The location of the intersection, in local cartesian coordinates.
- (BOOL) wasBackFace [protected] |
Indicates whether the intersected originated on the back side of the face.
Useful for ray intersections.