stagexl package
documentation
stagexl
Vector
operator + method
operator +
stagexl package
documentation
stagexl
Vector
operator + method
Vector class
Constructors
Vector
polar
zero
Properties
degrees
hashCode
isNormalized
isValid
isZero
length
lengthSqr
rads
runtimeType
x
y
Methods
clone
crossDet
crossDetXY
distance
distanceSqr
distanceXY
distanceXYSqr
dot
dotXY
equalsXY
isNear
isNearXY
isWithin
isWithinXY
lerp
negate
normalize
normalLeft
normalRight
noSuchMethod
reflect
rotate
rotateSpinor
scale
scaleLength
slerp
spinorBetween
toString
Operators
operator *
operator +
operator -
operator /
operator ==
operator unary-
Constants
Epsilon
EpsilonSqr
operator +
method
Vector
operator +
(
Vector
other
)
Implementation
Vector operator +(Vector other) => Vector(x + other.x, y + other.y);