erebus

diff liberebus/src/object.h @ 3:a932848de652

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 28 Apr 2014 15:44:59 +0300
parents 474a0244f57d
children 93894c232d65
line diff
     1.1 --- a/liberebus/src/object.h	Mon Apr 28 06:31:10 2014 +0300
     1.2 +++ b/liberebus/src/object.h	Mon Apr 28 15:44:59 2014 +0300
     1.3 @@ -18,9 +18,6 @@
     1.4  class Object {
     1.5  private:
     1.6  	std::string name;
     1.7 -	Matrix4x4 xform;
     1.8 -	mutable Matrix4x4 inv_xform;
     1.9 -	mutable bool inv_xform_valid;
    1.10  
    1.11  public:
    1.12  	Object();
    1.13 @@ -31,13 +28,6 @@
    1.14  	virtual void set_name(const char *name);
    1.15  	virtual const char *get_name() const;
    1.16  
    1.17 -	virtual void set_xform(const Matrix4x4 &mat);
    1.18 -	virtual void set_xform(const Matrix4x4 &mat, const Matrix4x4 &inv_mat);
    1.19 -
    1.20 -	virtual Matrix4x4 &get_xform();	// invalidates inv_xform
    1.21 -	virtual const Matrix4x4 &get_xform() const;
    1.22 -	virtual const Matrix4x4 &get_inv_xform() const;
    1.23 -
    1.24  	virtual bool intersect(const Ray &ray, RayHit *hit = 0) const;
    1.25  };
    1.26