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

Public Member Functions

 rotate_y (shared_ptr< hittable > p, Real angle)
 
bool hit (const ray &r, Real t_min, Real t_max, hit_record &rec) const override
 
bool bounding_box (Real time0, Real time1, aabb &output_box) const override
 
- Public Member Functions inherited from ptracey::hittable
virtual Real pdf_value (const vec3 &o, const vec3 &v) const
 
virtual vec3 random (const vec3 &o) const
 

Public Attributes

shared_ptr< hittableptr
 
Real sin_theta
 
Real cos_theta
 
bool hasbox
 
aabb bbox
 
- Public Attributes inherited from ptracey::hittable
shared_ptr< materialmat_ptr
 

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