Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

MilkShape.cpp File Reference

#include "MilkShape.h"

Include dependency graph for MilkShape.cpp:

Go to the source code of this file.

Functions

void MS_Vec_Transform (MS_Vec *pV, const Mat4 *pM)
void MS_Vec_Transform3 (MS_Vec *pV, const Mat4 *pM)


Function Documentation

void MS_Vec_Transform MS_Vec pV,
const Mat4 pM
 

MilkShape.cpp

Author: Petter Alstermark, petter@alstermark.com

Vec4 vec; Mat4 mat = *pM; vec = mat * vec;

pV->x = vec.x; pV->y = vec.y; pV->z = vec.z; pV->w = vec.w;

Definition at line 9 of file MilkShape.cpp.

References Mat4::getMatrix(), MS_Vec::w, MS_Vec::x, MS_Vec::y, and MS_Vec::z.

Referenced by MS_Bone::render().

Here is the call graph for this function:

void MS_Vec_Transform3 MS_Vec pV,
const Mat4 pM
 

Vec3 vec; Mat4 mat = *pM; vec = mat * vec;

pV->x = vec.x; pV->y = vec.y; pV->z = vec.z;

Definition at line 36 of file MilkShape.cpp.

References Mat4::getMatrix(), MS_Vec::x, MS_Vec::y, and MS_Vec::z.

Here is the call graph for this function:


Generated on Sun Jun 5 15:48:04 2005 for Defacto by  doxygen 1.4.3