rendereable.cpp
来自「This code was developed by my techer. :D」· C++ 代码 · 共 26 行
CPP
26 行
#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 + =
减小字号Ctrl + -
显示快捷键?