Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r2046 - trunk/Model/Groups


Chronological Thread 
  • From: "James Bigler" <bigler@cs.utah.edu>
  • To: manta@sci.utah.edu
  • Subject: [Manta] r2046 - trunk/Model/Groups
  • Date: Mon, 11 Feb 2008 10:23:53 -0700 (MST)

Author: bigler
Date: Mon Feb 11 10:23:52 2008
New Revision: 2046

Modified:
   trunk/Model/Groups/DynBVH.cc
   trunk/Model/Groups/DynBVH.h
Log:
Model/Groups/DynBVH.cc
Model/Groups/DynBVH.h

  Added virtual desctructor.


Modified: trunk/Model/Groups/DynBVH.cc
==============================================================================
--- trunk/Model/Groups/DynBVH.cc        (original)
+++ trunk/Model/Groups/DynBVH.cc        Mon Feb 11 10:23:52 2008
@@ -25,6 +25,11 @@
 const float BVH_C_isec = 10.f;
 const float BVH_C_trav = 10.f;
 
+DynBVH::~DynBVH()
+{
+  //  cerr << MANTA_FUNC << " called.\n";
+}
+
 void DynBVH::intersect(const RenderContext& context, RayPacket& rays) const
 {
   bool debugFlag = rays.getFlag(RayPacket::DebugPacket);

Modified: trunk/Model/Groups/DynBVH.h
==============================================================================
--- trunk/Model/Groups/DynBVH.h (original)
+++ trunk/Model/Groups/DynBVH.h Mon Feb 11 10:23:52 2008
@@ -87,6 +87,7 @@
     //}
     DynBVH(bool print=false) : currGroup(NULL), group_changed(false), 
barrier("DynBVH barrier"), print_info(print)
     {}
+    virtual ~DynBVH();
 
     void setGroup(Group* new_group);
     Group* getGroup() const;




  • [Manta] r2046 - trunk/Model/Groups, James Bigler, 02/11/2008

Archive powered by MHonArc 2.6.16.

Top of page