Show
Ignore:
Timestamp:
06/09/08 01:10:45 (4 months ago)
Author:
vossg
Message:

Base rebuild

changed: removed osg1 compat field interfaces (handled by 1.x)
fixed : pass pod by value and non-pod by reference

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/System/NodeCores/Drawables/Geometry/Properties/OSGGeoPropertyBase.h

    r1193 r1288  
    135135 
    136136 
    137 #ifdef OSG_1_GET_COMPAT 
    138                   SFBool              *getSFUseVBO          (void); 
    139 #endif 
    140137                  SFBool              *editSFUseVBO         (void); 
    141138            const SFBool              *getSFUseVBO          (void) const; 
    142139 
    143140 
    144 #ifdef OSG_1_GET_COMPAT 
    145                   bool                &getUseVBO          (void); 
    146 #endif 
    147141                  bool                &editUseVBO         (void); 
    148             const bool                 getUseVBO          (void) const; 
     142                  bool                 getUseVBO          (void) const; 
    149143 
    150144    /*! \}                                                                 */ 
     
    153147    /*! \{                                                                 */ 
    154148 
    155             void setUseVBO         (const bool &value); 
     149            void setUseVBO         (const bool value); 
    156150 
    157151    /*! \}                                                                 */ 
     
    237231 
    238232                  UInt32              &editGLId           (void); 
    239             const UInt32               getGLId            (void) const; 
     233                  UInt32               getGLId            (void) const; 
    240234 
    241235                  Int32               &editUsage          (void); 
    242             const Int32                getUsage           (void) const; 
     236                  Int32                getUsage           (void) const; 
    243237 
    244238    /*! \}                                                                 */ 
     
    247241    /*! \{                                                                 */ 
    248242 
    249             void setGLId           (const UInt32 &value); 
    250             void setUsage          (const Int32 &value); 
     243            void setGLId           (const UInt32 value); 
     244            void setUsage          (const Int32 value); 
    251245 
    252246    /*! \}                                                                 */