예제 #1
0
Vector2 Vector2::Project(const Vector2& other) const
{
	Vector2 onorm = other.Normalised();

	return Dot(onorm) * onorm;
}