Ignore:
Timestamp:
01/25/06 01:44:46 (18 years ago)
Author:
mattausch
Message:

finished function for view cell construction
removed bsp rays from vspbspmanager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/common.h

    r434 r574  
    138138#endif 
    139139// Clears a container (i.e., a vector of pointers) and deletes the pointers 
     140#if 0 
    140141#ifndef CLEAR_CONTAINER 
    141142#define CLEAR_CONTAINER(co) do { while (!(co).empty()) {   \ 
     
    143144                                                                   (co).pop_back();}}      \ 
    144145                                                        while (0) 
     146#endif 
     147#endif 
     148 
     149#ifndef CLEAR_CONTAINER 
     150#define CLEAR_CONTAINER(co) do { for (int _i = 0; _i < (int)(co).size(); ++ _i) { \ 
     151        DEL_PTR((co)[_i]);} \ 
     152        (co).clear(); } \ 
     153while (0) 
    145154#endif 
    146155 
Note: See TracChangeset for help on using the changeset viewer.