Path Tracer
Public Member Functions | Public Attributes | List of all members
ptracey::hittable_list Class Reference
Inheritance diagram for ptracey::hittable_list:
ptracey::hittable

Public Member Functions

 hittable_list (shared_ptr< hittable > object)
 
 hittable_list (std::vector< shared_ptr< hittable >> objs)
 
void clear ()
 
void add (shared_ptr< hittable > object)
 
virtual bool hit (const ray &r, Real t_min, Real t_max, hit_record &rec) const override
 
virtual bool bounding_box (Real time0, Real time1, aabb &output_box) const override
 
virtual Real pdf_value (const vec3 &o, const vec3 &v) const override
 
virtual vec3 random (const vec3 &o) const override
 

Public Attributes

std::vector< shared_ptr< hittable > > objects
 
- Public Attributes inherited from ptracey::hittable
shared_ptr< materialmat_ptr
 

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