Finished surfaces
This commit is contained in:
@@ -49,6 +49,7 @@ public:
|
||||
void setCFrame(CoordinateFrame);
|
||||
void setSize(Vector3);
|
||||
void setShape(Enum::Shape::Value shape);
|
||||
void setChanged();
|
||||
|
||||
//Collision
|
||||
bool collides(PartInstance * part);
|
||||
|
||||
9
src/include/Faces.h
Normal file
9
src/include/Faces.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef FACES_H
|
||||
#define FACES_H
|
||||
#define TOP 0
|
||||
#define BOTTOM 1
|
||||
#define LEFT 2
|
||||
#define RIGHT 3
|
||||
#define FRONT 4
|
||||
#define BACK 5
|
||||
#endif
|
||||
@@ -3,5 +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);
|
||||
void renderSurface(const char face, const Enum::SurfaceType::Value& surface, const Vector3& size, const Enum::Controller::Value& controller, const Color3& color);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user