Get rid of object's origin
This commit is contained in:
parent
ab9ac5e963
commit
584d0326a9
2 changed files with 1 additions and 19 deletions
|
@ -29,28 +29,12 @@ Object::Object(const Vector4& origin)
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
* charles::Object::~Object --
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
Vector3
|
|
||||||
Object::GetOrigin()
|
|
||||||
const
|
|
||||||
{
|
|
||||||
return mOrigin;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Object::~Object()
|
Object::~Object()
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
|
|
||||||
void
|
|
||||||
Object::SetOrigin(const Vector3& origin)
|
|
||||||
{
|
|
||||||
mOrigin = origin;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Material&
|
Material&
|
||||||
Object::GetMaterial()
|
Object::GetMaterial()
|
||||||
{
|
{
|
||||||
|
|
|
@ -51,8 +51,6 @@ struct Object
|
||||||
virtual void Write(std::ostream& ost) const;
|
virtual void Write(std::ostream& ost) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/** The location of this object. */
|
|
||||||
Vector3 mOrigin;
|
|
||||||
|
|
||||||
/** This object's material, surface properties, etc. */
|
/** This object's material, surface properties, etc. */
|
||||||
Material mMaterial;
|
Material mMaterial;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue