コード例 #1
0
ファイル: gui.cpp プロジェクト: Interstell/courses
Vector2f Gui::getShapeCenter(CircleShape shape) {
	return Vector2f(shape.getGlobalBounds().left + shape.getGlobalBounds().width/2,
		shape.getGlobalBounds().top + shape.getGlobalBounds().height/2);
}