Model_3D Class Reference

#include <Model_3D.h>

Inheritance diagram for Model_3D:

Model_character List of all members.

Public Member Functions

 Model_3D (const char *filename)
void set_rotation (float xrot, float yrot, float zrot)
void translate (float xtranslate, float ytranslate, float ztranslate)
void scale (float xscale, float yscale, float zscale)
void render ()
void set_xpos (float x_pos)
void set_ypos (float y_pos)
void set_zpos (float z_pos)
float get_xpos () const
float get_ypos () const
float get_zpos () const
void set_repeating_texture (bool repeating_texture)
void set_mipmapping (bool mipmapping)

Detailed Description

class that defines a model with all it's attributes


Constructor & Destructor Documentation

Model_3D::Model_3D const char *  filename  ) 
 

loads ms3d model from filesource filename


Member Function Documentation

float Model_3D::get_xpos  )  const
 

returns the model x translation (world coordinates)

float Model_3D::get_ypos  )  const
 

returns the model y translation (world coordinates)

float Model_3D::get_zpos  )  const
 

returns the model z translation (world coordinates)

void Model_3D::render  ) 
 

renders the model

void Model_3D::scale float  xscale,
float  yscale,
float  zscale
 

scales the model (object coordinates)

void Model_3D::set_mipmapping bool  mipmapping  ) 
 

defines if mipmapping should be used for the textures

void Model_3D::set_repeating_texture bool  repeating_texture  ) 
 

defines if the model textures should be repeated or clamped to edge

void Model_3D::set_rotation float  xrot,
float  yrot,
float  zrot
 

sets the model rotation (object coordinates)

void Model_3D::set_xpos float  x_pos  ) 
 

sets the model x translation (world coordinates)

void Model_3D::set_ypos float  y_pos  ) 
 

sets the model y translation (world coordinates)

void Model_3D::set_zpos float  z_pos  ) 
 

sets the model z translation (world coordinates)

void Model_3D::translate float  xtranslate,
float  ytranslate,
float  ztranslate
 

translates the model (object coordinates)


The documentation for this class was generated from the following files:
Generated on Sun Jan 22 16:27:12 2006 for moblu by  doxygen 1.4.6-NO