From c3398c9addf31f831fa060b1317d4a653505d792 Mon Sep 17 00:00:00 2001 From: david Date: Wed, 11 Dec 2002 21:49:25 +0000 Subject: [PATCH] Have DummyBSphereEntity inherit from ssgBranch instead of ssgEntity, to allow building with the latest plib CVS. Problem identified by Norm Vine. Fix suggested by Steve Baker. --- src/Objects/obj.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Objects/obj.cxx b/src/Objects/obj.cxx index 2b5f113bc..c9ee8ab3e 100644 --- a/src/Objects/obj.cxx +++ b/src/Objects/obj.cxx @@ -504,7 +504,7 @@ tri_out_of_range_callback (ssgEntity * entity, int mask) * it works and seems fairly efficient (since branches can still * be culled when they're out of the view frustum). */ -class DummyBSphereEntity : public ssgEntity +class DummyBSphereEntity : public ssgBranch { public: DummyBSphereEntity (float radius) @@ -514,10 +514,6 @@ public: } virtual ~DummyBSphereEntity () {} virtual void recalcBSphere () { bsphere_is_invalid = false; } - virtual void cull (sgFrustum *f, sgMat4 m, int test_needed) {} - virtual void isect (sgSphere *s, sgMat4 m, int test_needed) {} - virtual void hot (sgVec3 s, sgMat4 m, int test_needed) {} - virtual void los (sgVec3 s, sgMat4 m, int test_needed) {} }; -- 2.39.5