source: GTP/trunk/App/Demos/Illum/Hierarchical Systems Demo [OpenGL]/src/TransformAnimation.h @ 852

Revision 852, 493 bytes checked in by szirmay, 18 years ago (diff)
Line 
1#pragma once
2#include <My3DGraphRes\vector.h>
3#include <fstream>
4
5class TransformAnimation
6{
7public:
8        TransformAnimation(void);
9        ~TransformAnimation(void);
10
11        Vector getTranslate(int key){return translations[key];}
12        Vector getRotate(int key){return rotations[key];}
13        float* getMatrix(int key){return &matrixes[key*16];}
14
15        void Load(char* filename);
16        unsigned int framecount;
17private:
18        float* matrixes;
19        Vector* translations;
20        Vector* rotations;
21        float* quaternions;
22       
23};
Note: See TracBrowser for help on using the repository browser.