Added instance rendering

Added rendering and creation
This commit is contained in:
andreja6
2018-04-11 08:56:54 -07:00
parent 7d38523166
commit 58ee5c9889
5 changed files with 44 additions and 12 deletions

View File

@@ -1,22 +1,25 @@
#include <G3DAll.h>
#include "PhysicalInstance.h"
static const std::string className = "Part";
bool canCollide = true;
bool anchored = false;
Vector3 size;
Vector3 position;
Vector3 velocity;
Vector3 rotVelocity;
Color3 color;
PhysicalInstance::PhysicalInstance(void)
{
name = "Default PhysicalInstance";
className = "Part";
canCollide = true;
anchored = true;
size = Vector3(2,1,4);
position = Vector3(0,0,0);
color = Color3::gray();
velocity = Vector3(0,0,0);
rotVelocity = Vector3(0,0,0);
}
PhysicalInstance::~PhysicalInstance(void)