Rev | Line | |
---|
[852] | 1 | #pragma once
|
---|
| 2 | #include <My3DGraphRes\vector.h>
|
---|
| 3 | #include <fstream>
|
---|
| 4 |
|
---|
| 5 | class TransformAnimation
|
---|
| 6 | {
|
---|
| 7 | public:
|
---|
| 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;
|
---|
| 17 | private:
|
---|
| 18 | float* matrixes;
|
---|
| 19 | Vector* translations;
|
---|
| 20 | Vector* rotations;
|
---|
| 21 | float* quaternions;
|
---|
| 22 |
|
---|
| 23 | };
|
---|
Note: See
TracBrowser
for help on using the repository browser.