Arty
Public Member Functions | Public Attributes | List of all members
Ray Struct Reference

Ray defined as org + t * dir, with t in [tmin, tmax]. More...

#include <intersect.h>

Public Member Functions

 Ray (const float3 &o, const float3 &d, float t0=0.0f, float t1=FLT_MAX)
 

Public Attributes

float3 org
 Origin of the ray.
 
float tmin
 Minimum t parameter.
 
float3 dir
 Direction of the ray.
 
float tmax
 Maximum t parameter.
 

Detailed Description

Ray defined as org + t * dir, with t in [tmin, tmax].


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