Class Ray
See Also: Class Point3.
class Ray
Description:
This class describes a vector in space using an origin point p, and a unit direction vector dir.
Data Members:
public:
Point3 p;
Point of origin.
Point3 dir;
Unit direction vector.
Class Ray
See Also: Class Point3.
class Ray
Description:
This class describes a vector in space using an origin point p, and a unit direction vector dir.
Data Members:
public:
Point3 p;
Point of origin.
Point3 dir;
Unit direction vector.