Get rid of object's origin

This commit is contained in:
Eryn Wells 2014-08-09 08:59:11 -07:00
parent ab9ac5e963
commit 584d0326a9
2 changed files with 1 additions and 19 deletions

View file

@ -29,28 +29,12 @@ Object::Object(const Vector4& origin)
/*
* charles::Object::~Object --
*/
Vector3
Object::GetOrigin()
const
{
return mOrigin;
}
Object::~Object()
{ }
void
Object::SetOrigin(const Vector3& origin)
{
mOrigin = origin;
}
Material&
Object::GetMaterial()
{

View file

@ -51,8 +51,6 @@ struct Object
virtual void Write(std::ostream& ost) const;
private:
/** The location of this object. */
Vector3 mOrigin;
/** This object's material, surface properties, etc. */
Material mMaterial;