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

MilkShape.h File Reference

#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include "../Graphics/OpenGL/OpenGLRenderer.h"
#include "../Common/OS/Windows.h"
#include "../Math/Matrix.h"
#include "../Math/Vector.h"
#include "Log.h"

Include dependency graph for MilkShape.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MS_Vec
struct  MS_Tri
struct  MS_Normal
struct  MS_KeyFrameRot
struct  MS_KeyFramePos
class  MS_Material
class  MS_Bone
class  MS_Mesh
class  MilkShape

Defines

#define MS_MAX_NAME   32
#define MS_MAX_PATH   256
#define MS_PLAYER_MAX_GUNS   4

Typedefs

typedef unsigned char byte

Functions

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


Define Documentation

#define MS_MAX_NAME   32
 

MilkShape.h

Author: Petter Alstermark, petter@alstermark.com

Definition at line 22 of file MilkShape.h.

Referenced by MilkShape::loadFromAsciiFile().

#define MS_MAX_PATH   256
 

Definition at line 23 of file MilkShape.h.

#define MS_PLAYER_MAX_GUNS   4
 

Definition at line 25 of file MilkShape.h.

Referenced by MilkShape::loadFromAsciiFile().


Typedef Documentation

typedef unsigned char byte
 

Definition at line 28 of file MilkShape.h.


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:06 2005 for Defacto by  doxygen 1.4.3