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 <geometry_3d.h>

Data Fields

vec3 origin
 
vec3 direction
 

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

◆ origin

vec3 origin

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