rendereable.h
来自「This code was developed by my techer. :D」· C头文件 代码 · 共 19 行
H
19 行
#ifndef COMPGRAF_RENDEREABLE_H
#define COMPGRAF_RENDEREABLE_H
class Rendereable
{
public:
Rendereable(float x, float y, float z, float rotx, float roty, float rotz);
virtual ~Rendereable();
virtual void draw() = 0;
void setPos( float x, float y, float z );
void setRot( float rotx, float roty, float rotz );
protected:
float x, y, z, rotx, roty, rotz;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?