Public Member Functions | Static Public Member Functions | Public Attributes
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* (tgVector3 v)
tgVector3 operator* (float m)
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 ()
 tgVector3 (float all)
 tgVector3 (float x, float y, float z)

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

Definition at line 15 of file tgVector3.cpp.

tgVector3::tgVector3 ( float  all)

Definition at line 21 of file tgVector3.cpp.

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

Definition at line 28 of file tgVector3.cpp.


Member Function Documentation

Definition at line 65 of file tgVector3.cpp.

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

Definition at line 72 of file tgVector3.cpp.

float tgVector3::dot ( tgVector3  v)

Definition at line 79 of file tgVector3.cpp.

float tgVector3::length ( )

Definition at line 95 of file tgVector3.cpp.

Definition at line 84 of file tgVector3.cpp.

tgVector3 tgVector3::operator* ( tgVector3  v)

Definition at line 50 of file tgVector3.cpp.

tgVector3 tgVector3::operator* ( float  m)

Definition at line 55 of file tgVector3.cpp.

tgVector3 tgVector3::operator+ ( tgVector3  v)

Definition at line 40 of file tgVector3.cpp.

tgVector3 tgVector3::operator- ( tgVector3  v)

Definition at line 45 of file tgVector3.cpp.

tgVector3 tgVector3::operator/ ( float  m)

Definition at line 60 of file tgVector3.cpp.

tgVector3 tgVector3::operator= ( tgVector3  v)

Definition at line 33 of file tgVector3.cpp.

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

Definition at line 132 of file tgVector3.cpp.

void tgVector3::rotateX ( float  fAngle)

Definition at line 108 of file tgVector3.cpp.

void tgVector3::rotateY ( float  fAngle)

Definition at line 116 of file tgVector3.cpp.

void tgVector3::rotateZ ( float  fAngle)

Definition at line 124 of file tgVector3.cpp.

void tgVector3::setLength ( float  l)

Definition at line 100 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:


blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Thu Jan 2 2014 11:38:27