From: Mikko Rasa Date: Mon, 5 Dec 2016 17:56:18 +0000 (+0200) Subject: Add bounding sphere passthrough to Effect X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=f6575111846f9a63dcd8d1033a4fb4e907978713 Add bounding sphere passthrough to Effect --- diff --git a/source/effect.h b/source/effect.h index 4be963f6..c55aebf9 100644 --- a/source/effect.h +++ b/source/effect.h @@ -26,6 +26,7 @@ public: void disable_for_pass(const Tag &); virtual const Matrix *get_matrix() const { return renderable.get_matrix(); } + virtual const Geometry::BoundingSphere *get_bounding_sphere() const { return renderable.get_bounding_sphere(); } virtual void setup_frame(Renderer &r) { renderable.setup_frame(r); } virtual void finish_frame() { renderable.finish_frame(); }