33#ifndef DVD_OCTREE_INTERSECTION_RECORD_H_
34#define DVD_OCTREE_INTERSECTION_RECORD_H_
49 D64 distance)
noexcept;
54 void reset()
noexcept;
76 [[nodiscard]]
bool isEmpty() const noexcept {
BoundsComponent * _intersectedObject1
This is the object which is being intersected.
vec3< F32 > _normal
This is the normal of the surface at the point of intersection.
vec3< F32 > _position
This is the exact point in 3D space which has an intersection.
BoundsComponent * _intersectedObject2
This is the other object being intersected (may be null, as in the case of a ray-object intersection)
bool isEmpty() const noexcept
bool operator==(const IntersectionRecord &otherRecord) const noexcept
check the object identities between the two intersection records. If they match in either order,...
Ray _ray
This is the ray which caused the intersection.
void reset() noexcept
Reset all information contained by this record.
IntersectionRecord() noexcept
Handle console commands that start with a forward slash.
eastl::fixed_vector< IntersectionRecord, 32u, true > IntersectionContainer