Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

VectorMath.cpp File Reference

#include "VectorMath.h"

Include dependency graph for VectorMath.cpp:

Functions

Vector3 Cross (Vector3 v1, Vector3 v2)
Vector3 Normalize (Vector3 v1)
double Magnitude (Vector3 v1)
Vector3 FindNormal (Vector3 v1, Vector3 v2, Vector3 v3)


Function Documentation

Vector3 Cross (  Vector3    v1,
Vector3    v2
) 
 

Function to find the cross product of two vectors

Vector3 FindNormal (  Vector3    v1,
Vector3    v2,
Vector3    v3
) 
 

Returns the normal of a triangle

double Magnitude (  Vector3    v1 ) 
 

Returns the Magnitude of a vector

Vector3 Normalize (  Vector3    v1 ) 
 

Normalize a vector


Generated on Wed Apr 21 11:11:05 2004 for naturecalls by doxygen1.2.18