Changeset 11083 for code/trunk/src/modules/tetris/TetrisStone.cc
- Timestamp:
- Jan 21, 2016, 1:59:04 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/tetris/TetrisStone.cc
r9667 r11083 92 92 { 93 93 const Vector3& position = this->getPosition(); 94 Vector3 newPos = Vector3(position.x+value.x/ abs(value.x)*this->size_, position.y, position.z);94 Vector3 newPos = Vector3(position.x+value.x/std::abs(value.x)*this->size_, position.y, position.z); 95 95 if(!this->tetris_->isValidMove(this, newPos)) 96 96 return;
Note: See TracChangeset
for help on using the changeset viewer.