goat3d

diff src/mesh.h @ 76:9785847d52d4

bounding boxes calculation (untested) and automatic camera placement in goatview
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 08 May 2014 13:43:45 +0300
parents 76dea247f75c
children
line diff
     1.1 --- a/src/mesh.h	Thu May 08 00:50:16 2014 +0300
     1.2 +++ b/src/mesh.h	Thu May 08 13:43:45 2014 +0300
     1.3 @@ -61,7 +61,7 @@
     1.4  	Material *get_material();
     1.5  	const Material *get_material() const;
     1.6  
     1.7 -	AABox get_bounds() const;
     1.8 +	AABox get_bounds(const Matrix4x4 &xform) const;
     1.9  };
    1.10  
    1.11  }	// namespace g3dimpl