Moved renderer files
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -239,3 +239,22 @@ void renderShape(const Enum::Shape::Value& shape, const Vector3& size, const Col
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user