Point entity works. Default colours are sensible.
[Procustean.git] / src / SphereEntity.cpp
blobde5553749393076867eb3f5c89ea0aa3552e4c1f
2 #include <G3D/G3DAll.h>
3 #include <GLG3D/GLG3D.h>
4 #include "ecl/ecl.h"
5 #include "Entity.h"
6 #include "SphereEntity.h"
8 using namespace G3D;
10 SphereEntity::SphereEntity(const Vector3& center, float radius)
11 : sphere_(center, radius)
15 void SphereEntity::render(RenderDevice* renderer)
17 Draw::sphere(sphere_, renderer);
20 SphereEntity::~SphereEntity(void)