コード例 #1
0
Point GrnMatrix::getRotationRadians() const 
{
	Point p = getRotationDegrees();
	p *= GRAD_PI2; 
	return p;
} 
コード例 #2
0
ファイル: gun.cpp プロジェクト: iAppleJack/SimpleBattle
void Gun::_rotate(double angle)
{
    this->setRotationDegrees(getRotationDegrees() + angle);
}