Tesla Graphics Engine Documentation (January 2012)
IntersectionRecord Constructor (point, normal, distance, triangle)
Tesla
►
Tesla.Math
►
IntersectionRecord
►
IntersectionRecord(Vector3, Vector3, Single, Triangle)
C#
Creates a new intersection record.
Declaration Syntax
C#
public
IntersectionRecord
(
Vector3
point
,
Vector3
normal
,
float
distance
,
Triangle
triangle
)
Parameters
point
(
Vector3
)
Point of intersection
normal
(
Vector3
)
Normal of the intersection
distance
(
Single
)
Distance from the ray's origin
triangle
(
Triangle
)
The triangle
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)