Moved renderer files

This commit is contained in:
Vulpovile
2021-03-14 14:13:21 -07:00
parent 02dfa34d15
commit 049ef1a8d7
4 changed files with 22 additions and 2 deletions

View File

@@ -289,7 +289,7 @@
>
</File>
<File
RelativePath=".\Renderer.cpp"
RelativePath=".\src\source\Renderer.cpp"
>
</File>
<File
@@ -694,7 +694,7 @@
>
</File>
<File
RelativePath=".\Renderer.h"
RelativePath=".\src\include\Renderer.h"
>
</File>
<File

View File

View File

@@ -3,4 +3,5 @@
#include "Enum.h"
#include "DataModelV2/Instance.h"
void renderShape(const Enum::Shape::Value& shape, const Vector3& size, const Color3& ncolor);
void renderSurface(const char face, const Vector3& size, const Enum::SurfaceType::Value& surface, const Enum::Controller::Value& controller);
#endif

View File

@@ -238,4 +238,23 @@ void renderShape(const Enum::Shape::Value& shape, const Vector3& size, const Col
glPopMatrix();
}
}
void renderSurface(const char face, const Vector3& size, const Enum::SurfaceType::Value& surface, const Enum::Controller::Value& controller)
{
switch(surface)
{
case Enum::SurfaceType::Hinge:
{
}
break;
case Enum::SurfaceType::Bumps:
{
}
break;
default:
break;
}
}