$search

TomGine::tgVector3 Class Reference

Class tgVector3. More...

#include <tgVector3.h>

List of all members.

Public Member Functions

tgVector3 cross (tgVector3 v)
float dot (tgVector3 v)
float length ()
void normalize ()
tgVector3 operator* (float m)
tgVector3 operator* (tgVector3 v)
tgVector3 operator+ (tgVector3 v)
tgVector3 operator- (tgVector3 v)
tgVector3 operator/ (float m)
tgVector3 operator= (tgVector3 v)
void rotate (float fAngle, tgVector3 vAxis)
void rotateX (float fAngle)
void rotateY (float fAngle)
void rotateZ (float fAngle)
void setLength (float l)
 tgVector3 (float x, float y, float z)
 tgVector3 (float all)
 tgVector3 ()

Static Public Member Functions

static tgVector3 cross (tgVector3 v1, tgVector3 v2)

Public Attributes

float x
float y
float z

Detailed Description

Class tgVector3.

Definition at line 23 of file tgVector3.h.


Constructor & Destructor Documentation

tgVector3::tgVector3 (  ) 

Definition at line 15 of file tgVector3.cpp.

tgVector3::tgVector3 ( float  all  ) 

Definition at line 20 of file tgVector3.cpp.

tgVector3::tgVector3 ( float  x,
float  y,
float  z 
)

Definition at line 26 of file tgVector3.cpp.


Member Function Documentation

tgVector3 tgVector3::cross ( tgVector3  v1,
tgVector3  v2 
) [static]

Definition at line 70 of file tgVector3.cpp.

tgVector3 tgVector3::cross ( tgVector3  v  ) 

Definition at line 63 of file tgVector3.cpp.

float tgVector3::dot ( tgVector3  v  ) 

Definition at line 77 of file tgVector3.cpp.

float tgVector3::length (  ) 

Definition at line 93 of file tgVector3.cpp.

void tgVector3::normalize (  ) 

Definition at line 82 of file tgVector3.cpp.

tgVector3 tgVector3::operator* ( float  m  ) 

Definition at line 53 of file tgVector3.cpp.

tgVector3 tgVector3::operator* ( tgVector3  v  ) 

Definition at line 48 of file tgVector3.cpp.

tgVector3 tgVector3::operator+ ( tgVector3  v  ) 

Definition at line 38 of file tgVector3.cpp.

tgVector3 tgVector3::operator- ( tgVector3  v  ) 

Definition at line 43 of file tgVector3.cpp.

tgVector3 tgVector3::operator/ ( float  m  ) 

Definition at line 58 of file tgVector3.cpp.

tgVector3 tgVector3::operator= ( tgVector3  v  ) 

Definition at line 31 of file tgVector3.cpp.

void tgVector3::rotate ( float  fAngle,
tgVector3  vAxis 
)

Definition at line 130 of file tgVector3.cpp.

void tgVector3::rotateX ( float  fAngle  ) 

Definition at line 106 of file tgVector3.cpp.

void tgVector3::rotateY ( float  fAngle  ) 

Definition at line 114 of file tgVector3.cpp.

void tgVector3::rotateZ ( float  fAngle  ) 

Definition at line 122 of file tgVector3.cpp.

void tgVector3::setLength ( float  l  ) 

Definition at line 98 of file tgVector3.cpp.


Member Data Documentation

Definition at line 26 of file tgVector3.h.

Definition at line 26 of file tgVector3.h.

Definition at line 26 of file tgVector3.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Fri Mar 1 16:57:59 2013