v2.0.2
Protected Attributes | List of all members
CC3MeshIntersection Struct Reference

#import <CC3Mesh.h>

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

- (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.

- (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: