MCPcopy Create free account
hub / github.com/axmolengine/axmol / getNormalized

Method getNormalized

core/math/Vec2.cpp:179–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179Vec2 Vec2::getNormalized() const
180{
181 Vec2 v(*this);
182 v.normalize();
183 return v;
184}
185
186void Vec2::rotate(const Vec2& point, float angle)
187{

Callers 1

getAngleMethod · 0.45

Calls 1

normalizeMethod · 0.45

Tested by

no test coverage detected