- Timestamp:
- Dec 25, 2009, 1:18:03 PM (15 years ago)
- Location:
- code/branches/pickup2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup2
- Property svn:mergeinfo changed
-
code/branches/pickup2/src/orxonox/graphics/BlinkingBillboard.cc
r5781 r6412 81 81 this->setScale(this->amplitude_ * static_cast<float>(square(sin((6.2831853 * this->time_ + this->phase_.valueRadians()) * this->frequency_)))); 82 82 else 83 this->setScale(this->amplitude_ * static_cast<float>( sin((6.2831853 * this->time_ + this->phase_.valueRadians()) * this->frequency_)));83 this->setScale(this->amplitude_ * static_cast<float>(fabs(sin((6.2831853 * this->time_ + this->phase_.valueRadians()) * this->frequency_)))); 84 84 } 85 85 }
Note: See TracChangeset
for help on using the changeset viewer.