Public Member Functions

Md3Weapon Class Reference

#include <Md3Player.h>

Collaboration diagram for Md3Weapon:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Md3Weapon (const string &path, Md3PlayerLOD lod=kLodDefault)
 ~Md3Weapon ()
void draw () const
void scaleModels () const
void linkToModel (Md3Model *model)
void setScale (float scale)
float scale () const
const string & path () const
const string & name () const
Md3PlayerLOD lod () const

Detailed Description

Definition at line 182 of file Md3Player.h.


Constructor & Destructor Documentation

Md3Weapon::Md3Weapon ( const string &  path,
Md3PlayerLOD  lod = kLodDefault 
)

Definition at line 168 of file Md3Player.cpp.

Md3Weapon::~Md3Weapon (  ) 

Definition at line 223 of file Md3Player.cpp.


Member Function Documentation

void Md3Weapon::draw (  )  const

Definition at line 236 of file Md3Player.cpp.

void Md3Weapon::scaleModels (  )  const

Definition at line 259 of file Md3Player.cpp.

void Md3Weapon::linkToModel ( Md3Model model  ) 

Definition at line 282 of file Md3Player.cpp.

void Md3Weapon::setScale ( float  scale  )  [inline]

Definition at line 199 of file Md3Player.h.

float Md3Weapon::scale (  )  const [inline]

Definition at line 202 of file Md3Player.h.

const string& Md3Weapon::path (  )  const [inline]

Definition at line 203 of file Md3Player.h.

const string& Md3Weapon::name (  )  const [inline]

Definition at line 204 of file Md3Player.h.

Md3PlayerLOD Md3Weapon::lod (  )  const [inline]

Definition at line 205 of file Md3Player.h.


The documentation for this class was generated from the following files: