TinyRaytracer 0.1
A simple C++ raytracer
|
A plane defined by ax + by + cz + d = 0. More...
#include <object.hpp>
Public Member Functions | |
Plane (double a, double b, double c, double d, RGB rgb) | |
void | setProperties (RGB shine, RGB tran, double ior, double roughness) |
Public Attributes | |
double | a |
double | b |
double | c |
double | d |
a,b,c,d in ax + by + cz + d = 0. | |
vec3 | nor |
Normal of the plane. | |
point3 | point |
A point on the plane, for calculation purposes. | |
Materials | mat |
Material properties. | |
A plane defined by ax + by + cz + d = 0.