Create options
Converts clip-space coordinates into camera-space coordinates
The 4d clip-space vector to convert into camera-space
Converts device-space coordinates into clip-space coordinates
The 2d vector to convert into clip-space
Converts screen-space coordinates into device-space coordinates
The X coordinate in screen-space
The Y coordinate in screen-space
Converts camera-space coordinates into a direction
The 4d camera-space vector to convert into a direction
Creates a ray in world-space based on the camera center
Create a world-space ray based on the provided mouse position
The mouse X coordinate
The mouse Y coordinate
The ray direction
The ray origin
Returns T of a ray-aabb intersection
The AABB to check the intersection with
Returns a ray-triangle intersection point
Triangle vertex 0
Triangle vertex 1
Triangle vertex 2
Generated using TypeDoc