Changeset 4871 in orxonox.OLD for orxonox/trunk/src/lib/coord/null_parent.cc
- Timestamp:
- Jul 15, 2005, 1:22:52 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/coord/null_parent.cc
r4836 r4871 1 1 2 2 3 /* 3 /* 4 4 orxonox - the future of 3D-vertical-scrollers 5 5 … … 25 25 26 26 /** 27 * @returns the Reference to the NullParent28 */29 NullParent* NullParent::getInstance ()30 {31 if(!NullParent::singletonRef)32 NullParent::singletonRef = new NullParent ();33 return NullParent::singletonRef;34 }35 36 /**37 27 * creates the one and only NullParent 38 28 * @param absCoordinate the cordinate of the Parent (normally Vector(0,0,0)) … … 51 41 * standard deconstructor 52 42 */ 53 NullParent::~NullParent () 43 NullParent::~NullParent () 54 44 { 55 45 //delete singletonRef;
Note: See TracChangeset
for help on using the changeset viewer.