PBRT
Normal Class Reference

List of all members.

Public Member Functions

 Normal (float xx, float yy, float zz)
Normal operator- () const
Normal operator+ (const Normal &n) const
Normaloperator+= (const Normal &n)
Normal operator- (const Normal &n) const
Normaloperator-= (const Normal &n)
bool HasNaNs () const
Normal operator* (float f) const
Normaloperator*= (float f)
Normal operator/ (float f) const
Normaloperator/= (float f)
float LengthSquared () const
float Length () const
 Normal (const Normal &n)
Normaloperator= (const Normal &n)
 Normal (const Vector &v)
float operator[] (int i) const
float & operator[] (int i)
bool operator== (const Normal &n) const
bool operator!= (const Normal &n) const

Public Attributes

float x
float y
float z

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