Kohi Game Engine
ray Struct Reference

Represents a line which starts at an origin and proceed infinitely in the given direction. Typically used for hit tests, picking, etc. More...

#include <math_types.h>

Data Fields

vec3 origin
 
vec3 direction
 
f32 max_distance
 
ray_flags flags
 

Detailed Description

Represents a line which starts at an origin and proceed infinitely in the given direction. Typically used for hit tests, picking, etc.

Field Documentation

◆ direction

vec3 direction

◆ flags

ray_flags flags

◆ max_distance

f32 max_distance

◆ origin

vec3 origin

The documentation for this struct was generated from the following file: