Changeset 6222 in orxonox.OLD for trunk/src/util/state.h
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:ignore
set to
Makefile.in
Makefile
configure
*.kdevelop
Doxyfile
config.log
config.h
config.status
stamp-h1
autom4te.cache
aclocal.m4
-
Property
svn:ignore
set to
-
trunk/src
-
Property
svn:ignore
set to
.deps
orxonox
Makefile
Makefile.in
-
Property
svn:ignore
set to
-
trunk/src/util
-
Property
svn:ignore
set to
Makefile
Makefile.in
.deps
libORX*
-
Property
svn:ignore
set to
-
trunk/src/util/state.h
r6142 r6222 25 25 ////////////// 26 26 /** @param camera the PNode to the Camera, @param cameraTarget the PNode to the Camera's target */ 27 static void setCamera( const PNode* camera, constPNode* cameraTarget);27 static void setCamera(PNode* camera, PNode* cameraTarget); 28 28 /** @returns a Pointer to the PNode of the Camera */ 29 static inline constPNode* getCamera() { return State::camera; };29 static inline PNode* getCamera() { return State::camera; }; 30 30 /** @returns a Pointer to the CameraTarget */ 31 static inline constPNode* getCameraTarget() { return State::cameraTarget; };31 static inline PNode* getCameraTarget() { return State::cameraTarget; }; 32 32 33 33 ////////////////////// … … 46 46 State(); 47 47 48 static const PNode*camera; //!< A reference to the camera49 static const PNode*cameraTarget; //!< A reference to the cameraTarget48 static PNode* camera; //!< A reference to the camera 49 static PNode* cameraTarget; //!< A reference to the cameraTarget 50 50 static PNode* nullParent; //!< A reference to the Null-PNode. 51 51 static ObjectManager* objectManager; //!< A referenct to the current ObjectManager
Note: See TracChangeset
for help on using the changeset viewer.