Changeset 3262 for code/branches/core4/src/orxonox/objects
- Timestamp:
- Jul 1, 2009, 10:04:54 AM (15 years ago)
- Location:
- code/branches/core4/src/orxonox/objects/worldentities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/orxonox/objects/worldentities/Backlight.cc
r3257 r3262 29 29 #include "Backlight.h" 30 30 31 #include <algorithm> 31 32 #include <OgreRibbonTrail.h> 32 33 #include <OgreSceneManager.h> … … 175 176 void Backlight::stopturnonoff() 176 177 { 177 this->postprocessingtime_ = max(0.0f, this->lifetime_ - this->turnofftime_);178 this->postprocessingtime_ = std::max(0.0f, this->lifetime_ - this->turnofftime_); 178 179 179 180 FadingBillboard::stopturnonoff(); -
code/branches/core4/src/orxonox/objects/worldentities/Camera.cc
r3250 r3262 29 29 #include "Camera.h" 30 30 31 #include <algorithm> 31 32 #include <OgreCamera.h> 32 33 #include <OgreSceneManager.h> … … 104 105 { 105 106 // this stuff here may need some adjustments 106 float coeff = min(1.0f, 15.0f * dt);107 float coeff = std::min(1.0f, 15.0f * dt); 107 108 108 109 Vector3 offset = this->getWorldPosition() - this->cameraNode_->_getDerivedPosition(); -
code/branches/core4/src/orxonox/objects/worldentities/pawns/Pawn.cc
r3257 r3262 28 28 29 29 #include "Pawn.h" 30 31 #include <algorithm> 30 32 31 33 #include "core/CoreIncludes.h" … … 152 154 void Pawn::setHealth(float health) 153 155 { 154 this->health_ = min(health, this->maxHealth_);156 this->health_ = std::min(health, this->maxHealth_); 155 157 } 156 158
Note: See TracChangeset
for help on using the changeset viewer.