a2d.Vector - Armen138/a2d GitHub Wiki

Defined in types.js

Summary

a2d.Vector(x, y)
Vector

Method Summary

a2d.Vector

clone
Returns a Vector object with the same values.

Property Summary

**[X](#X)** the X value
**[Y](#Y)** the Y value

Detail

a2d.Vector(x, y)
Vector

Parameters:

{number} x
{number} y


Method Detail

{a2d.Vector} clone
Returns a Vector object with the same values.

Returns:

{a2d.Vector}
a clone of this Vector object


Property Detail

X
the X value

-- Y
the Y value


⚠️ **GitHub.com Fallback** ⚠️