From f6575111846f9a63dcd8d1033a4fb4e907978713 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 5 Dec 2016 19:56:18 +0200 Subject: [PATCH] Add bounding sphere passthrough to Effect --- source/effect.h | 1 + 1 file changed, 1 insertion(+) 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(); } -- 2.43.0