#include <lib_collider.h>
Stores the result of calculations with GeRayCollider.
Public Attributes | |
| Int32 | face_id |
| Int32 | tri_face_id |
| Vector | hitpos |
| Float | distance |
| Vector | s_normal |
| Vector | f_normal |
| Vector | barrycoords |
| Bool | backface |
| Int32 face_id |
The polygon index of the intersection point.
| Vector hitpos |
The position of the intersection.
| Float distance |
The distance to the intersection.
| Vector s_normal |
Same as f_normal. (reserved for phong normal at the intersection (Not normalized))
| Vector f_normal |
The face normal. (Not normalized)
| Vector barrycoords |
The barycentric coordinates of the intersection. (x = u, y = v, z = d)
| Bool backface |
true if the intersected face's normal points away from the camera, otherwise false.