Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/bsp_model/src/lib/graphics/importer/md3/md3_model.h @ 8439

Last change on this file since 8439 was 8439, checked in by patrick, 18 years ago

bsp: md3 model data read in as it seams correctly. no drawing yet! interactive model introduced

File size: 642 bytes
Line 
1/*!
2 * @file md3_model.h
3 *
4 * Code heavely inspired by: JAVA MD3 Model Viewer - A Java based Quake 3 model viewer
5 * Copyright (C) 1999 Erwin 'KLR8' Vervaet
6 */
7
8#ifndef _MD3_MODEL_H
9#define _MD3_MODEL_H
10
11#include <string>
12#include "interactive_model.h"
13
14
15namespace md3
16{
17
18
19class MD3Data;
20
21class MD3Model : public InteractiveModel
22{
23
24  public:
25    MD3Model(std::string filename, float scaling);
26    ~MD3Model();
27
28    virtual void tick(float dt) {}
29    virtual void setAnimation(int animNum, int playbackMode = 0) {}
30
31  private:
32    MD3Data*            md3Data;           //!< reference to the md3 model data
33};
34
35}
36
37#endif /* _MD3_MODEL_H */
Note: See TracBrowser for help on using the repository browser.