#include "3dsLoader.h"#include <iostream>Include dependency graph for 3dsloader.cc:

Go to the source code of this file.
Defines | |
| #define | MAG(Normal) (sqrt(Normal.x*Normal.x + Normal.y*Normal.y + Normal.z*Normal.z)) |
Functions | |
| tVector3 | Vector (tVector3 vPoint1, tVector3 vPoint2) |
| tVector3 | addVector (tVector3 vVector1, tVector3 vVector2) |
| tVector3 | divideVectorByScaler (tVector3 vVector1, float scaler) |
| tVector3 | cross (tVector3 vVector1, tVector3 vVector2) |
| tVector3 | normalize (tVector3 vNormal) |
|
|
Definition at line 507 of file 3dsloader.cc. Referenced by normalize(). |
|
||||||||||||
|
This adds 2 vectors together and returns the result Definition at line 527 of file 3dsloader.cc. References tVector3::x, tVector3::y, and tVector3::z. Referenced by CLoad3DS::computeNormals(). |
|
||||||||||||
|
This returns the cross product between 2 vectors Definition at line 555 of file 3dsloader.cc. References tVector3::x, tVector3::y, and tVector3::z. Referenced by CLoad3DS::computeNormals(). |
|
||||||||||||
|
This divides a vector by a single number (scalar) and returns the result Definition at line 541 of file 3dsloader.cc. References tVector3::x, tVector3::y, and tVector3::z. Referenced by CLoad3DS::computeNormals(). |
|
|
This returns the normal of a vector Definition at line 568 of file 3dsloader.cc. References MAG, tVector3::x, tVector3::y, and tVector3::z. Referenced by CLoad3DS::computeNormals(). |
|
||||||||||||