📄 rendereable.cpp
字号:
#include "interfaces/rendereable.h"
Rendereable::Rendereable(float x, float y, float z, float rotx, float roty, float rotz):
x ( x ),
y ( y ),
z ( z ),
rotx ( rotx ),
roty ( roty ),
rotz ( rotz )
{
}
Rendereable::~Rendereable()
{}
void Rendereable::setPos( float x, float y, float z )
{
this->x = x;
this->y = y;
this->z = z;
}
void Rendereable::setRot( float rotx, float roty, float rotz )
{
this->rotx = rotx;
this->roty = roty;
this->rotz = rotz;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -