3dpcp/.svn/pristine/fb/fbd61f7e8c377d327a980c1f6ded7424129e248c.svn-base
2012-09-16 14:33:11 +02:00

21 lines
No EOL
472 B
Text

#ifndef FRAME_H
#define FRAME_H
/**
* @brief Simple frame class containing a transformation and type
*/
class Frame {
public:
double transformation[16];
unsigned int type;
Frame() {}
Frame(double* transformation, unsigned int type) { set(transformation, type); }
void set(double* transformation, unsigned int type) {
for(unsigned int i = 0; i < 16; ++i)
this->transformation[i] = transformation[i];
this->type = type;
}
};
#endif //FRAME_H