TinyRaytracer 0.1
A simple C++ raytracer
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Plane Class Reference

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.
 

Detailed Description

A plane defined by ax + by + cz + d = 0.


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