Path Tracer
Public Member Functions | Public Attributes | List of all members
ptracey::hittable Class Referenceabstract
Inheritance diagram for ptracey::hittable:
ptracey::AaRect ptracey::box ptracey::bvh_node ptracey::constant_medium ptracey::flip_face ptracey::hittable_list ptracey::mesh ptracey::model ptracey::moving_sphere ptracey::rotate_y ptracey::sphere ptracey::translate ptracey::triangle

Public Member Functions

virtual bool hit (const ray &r, Real t_min, Real t_max, hit_record &rec) const =0
 
virtual bool bounding_box (Real time0, Real time1, aabb &output_box) const =0
 
virtual Real pdf_value (const vec3 &o, const vec3 &v) const
 
virtual vec3 random (const vec3 &o) const
 

Public Attributes

shared_ptr< materialmat_ptr
 

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