GEL
2
GEL is a library for Geometry and Linear Algebra
|
Public Member Functions | |
Ray (const CGLA::Vec3f &_origin, const CGLA::Vec3f &_direction) | |
const Material * | get_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 TriMesh * | hit_object |