Readonly
v0The first 3-dimensional vector of the triangle.
Readonly
v1The second 3-dimensional vector of the triangle.
Readonly
v2The third 3-dimensional vector of the triangle.
Test if a ray intersects with the triangle.
Ray to test against (direction must be normalized).
Optional
point: Vec3If there is an intersection, the intersection point will be copied into here.
True if there is an intersection.
Sets the specified triangle to the supplied 3-dimensional vectors.
Self for chaining
A triangle.