Lysa  0.0
Lysa 3D Engine
RayHit Struct Reference
+ Inheritance diagram for RayHit:

Public Member Functions

bool operator< (const RayHit &other) const
 

Public Attributes

float3 point {}
 
float3 normal {}
 
float distance {}
 

Member Function Documentation

bool operator< ( const RayHit &  other) const
inline

Member Data Documentation

float distance {}

World-space distance

float3 normal {}

Normal vector

float3 point {}

World-space coordinates