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

Method dot

core/math/Vec2.cpp:152–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152float Vec2::dot(const Vec2& v1, const Vec2& v2)
153{
154 return (v1.x * v2.x + v1.y * v2.y);
155}
156
157float Vec2::length() const
158{

Callers 1

getAngleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected