2022-09-19 13:30:03 +00:00
|
|
|
#include "model_offscreen_render.h"
|
|
|
|
|
|
|
|
ModelOffscreenRender::ModelOffscreenRender(const QSurfaceFormat &format, QScreen *targetScreen):
|
|
|
|
QOffscreenSurface(targetScreen)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
ModelOffscreenRender::~ModelOffscreenRender()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
void ModelOffscreenRender::setXRotation(int angle)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
void ModelOffscreenRender::setYRotation(int angle)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
void ModelOffscreenRender::setZRotation(int angle)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
void ModelOffscreenRender::setEyePosition(const QVector3D &eyePosition)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
void ModelOffscreenRender::setMoveToPosition(const QVector3D &moveToPosition)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
void ModelOffscreenRender::setRenderThread(QThread *thread)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
2022-09-23 15:54:49 +00:00
|
|
|
void ModelOffscreenRender::updateMesh(ModelMesh *mesh)
|
2022-09-19 13:30:03 +00:00
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
QImage ModelOffscreenRender::toImage(const QSize &size)
|
|
|
|
{
|
|
|
|
// TODO
|
2022-09-20 12:48:22 +00:00
|
|
|
return QImage();
|
2022-09-19 13:30:03 +00:00
|
|
|
}
|