Raytracer
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Raytracer::Utils::VecN< T, N > Class Template Reference

Public Member Functions

 VecN (T e0, T e1, T e2)
 
x () const
 
y () const
 
z () const
 
VecN operator- () const
 
operator[] (std::size_t i) const
 
T & operator[] (std::size_t i)
 
VecNoperator+= (const VecN &v)
 
VecNoperator*= (double t)
 
VecNoperator/= (double t)
 
double length () const
 
double lengthSquared () const
 
bool nearZero () const
 
VecNnormalize ()
 

Static Public Member Functions

static VecN random ()
 
static VecN random (double min, double max)
 

Public Attributes

e [N]
 

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