Vec3f Class Reference

#include <Vec3f.h>

List of all members.

Public Member Functions

 Vec3f ()
 Vec3f (const Vec3f &v)
 Vec3f (float nx, float ny, float nz)
 Vec3f (const float *v)
int operator== (const Vec3f &v) const
int operator!= (const Vec3f &v) const
Vec3f operator+ (const Vec3f &v) const
Vec3f operator- (const Vec3f &v) const
Vec3f operator- () const
Vec3f operator * (float f) const
Vec3f operator * (const Vec3f &v) const
void zero ()
void scale (float s)
float length () const
Vec3f cross (const Vec3f &v) const
float dot (const Vec3f &v) const
void normalize ()
Vec3foperator+= (const Vec3f &v)

Public Attributes

float x
float y
float z


Constructor & Destructor Documentation

Vec3f::Vec3f (  )  [inline]

Vec3f::Vec3f ( const Vec3f v  )  [inline]

Vec3f::Vec3f ( float  nx,
float  ny,
float  nz 
) [inline]

Vec3f::Vec3f ( const float *  v  )  [inline]


Member Function Documentation

int Vec3f::operator== ( const Vec3f v  )  const [inline]

int Vec3f::operator!= ( const Vec3f v  )  const [inline]

Vec3f Vec3f::operator+ ( const Vec3f v  )  const [inline]

Vec3f Vec3f::operator- ( const Vec3f v  )  const [inline]

Vec3f Vec3f::operator- (  )  const [inline]

Vec3f Vec3f::operator * ( float  f  )  const [inline]

Vec3f Vec3f::operator * ( const Vec3f v  )  const [inline]

void Vec3f::zero (  )  [inline]

void Vec3f::scale ( float  s  )  [inline]

float Vec3f::length (  )  const [inline]

Vec3f Vec3f::cross ( const Vec3f v  )  const [inline]

float Vec3f::dot ( const Vec3f v  )  const [inline]

void Vec3f::normalize (  )  [inline]

Vec3f& Vec3f::operator+= ( const Vec3f v  )  [inline]


Member Data Documentation

float Vec3f::x

float Vec3f::y

float Vec3f::z


Generated on Thu Jan 18 10:06:22 2007 for vhdPLUS by  doxygen 1.5.1-p1