GEL  2
GEL is a library for Geometry and Linear Algebra
Public Member Functions | Public Attributes
Geometry::Ray Struct Reference

List of all members.

Public Member Functions

 Ray (const CGLA::Vec3f &_origin, const CGLA::Vec3f &_direction)
const Materialget_hit_material () const
void reset ()
void compute_position ()
void compute_normal ()
void reflect (const CGLA::Vec3f &normal)
void refract (const CGLA::Vec3f &normal, float new_ior)
bool cond_set_parameter (float t, float _u, float _v, Geometry::TriMesh *mesh, size_t idx)

Public Attributes

CGLA::Vec3f origin
CGLA::Vec3f direction
CGLA::Vec3f hit_pos
CGLA::Vec3f hit_normal
bool has_hit
bool inside
bool did_hit_diffuse
double dist
float ior
float u
float v
int trace_depth
size_t hit_face_id
int id
const TriMeshhit_object

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations