Protected Attributes

CC3MeshIntersection Struct Reference

Represents a point of intersection on the mesh. More...

#import <CC3Mesh.h>

Collaboration diagram for CC3MeshIntersection:
Collaboration graph
[legend]

List of all members.

Protected Attributes

CC3BarycentricWeights barycentricLocation
GLfloat distance
CC3Face face
GLuint faceIndex
CC3Plane facePlane
CC3Vector location
BOOL wasBackFace: 1

Detailed Description

Represents a point of intersection on the mesh.

This might represent an intersection point between this mesh and a ray or another mesh.


Member Data Documentation

The location of the intersection, in barycentric coordinates.

- (GLfloat) distance [protected]

The distance from the startLocation of the ray to the intersection location.

- (CC3Face) face [protected]

The face that was intersected.

- (GLuint) faceIndex [protected]

The index of the face that was intersected.

- (CC3Plane) facePlane [protected]

The plane equation of the face that was intersected.

- (CC3Vector) location [protected]

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.


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