Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] object ownership in Groups


Chronological Thread 
  • From: Roni Choudhury <roni@cs.utah.edu>
  • To: "'manta@sci.utah.edu'" <manta@sci.utah.edu>
  • Subject: [Manta] object ownership in Groups
  • Date: Tue, 08 Jan 2008 11:12:00 -0700

Who is supposed to own the objects in a Group (i.e., who is responsible for deleting them)? If it's up to the programmer, and I want the Group to own its objects, would it be terrible to add a destroy() method to the Group that would run through its vector of Object *s and delete them?

roni





Archive powered by MHonArc 2.6.16.

Top of page