예제 #1
0
파일: Vec2f.cpp 프로젝트: 222464/PGE
Vec2f Vec2f::project(const Vec2f &other) const {
	return (dot(other) / other.magnitudeSquared()) * other;
}