mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-09 20:25:31 +00:00
removed 1 com
This commit is contained in:
@@ -125,7 +125,6 @@ namespace BBM
|
|||||||
float dot = this->x * o.x + this->y * o.y;
|
float dot = this->x * o.x + this->y * o.y;
|
||||||
float det = this->x * o.y - this->y * o.x;
|
float det = this->x * o.y - this->y * o.x;
|
||||||
return (std::atan2(det, dot) * (180.0f / M_PI));
|
return (std::atan2(det, dot) * (180.0f / M_PI));
|
||||||
//return (std::atan(std::abs(o.y - this->y) / std::abs(o.x - this->x)));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
double magnitude() const
|
double magnitude() const
|
||||||
|
|||||||
Reference in New Issue
Block a user