stagexl
stagexl
Vector
rotateSpinor
rotateSpinor
stagexl
stagexl
Vector
rotateSpinor
method
rotateSpinor
Source
stagexl
stagexl
Vector
Constants
Epsilon
EpsilonSqr
Constructors
Vector
polar
zero
Properties
degrees
hashCode
isNormalized
isValid
isZero
length
lengthSqr
rads
runtimeType
x
y
Operators
operator *
operator +
operator -
operator /
operator ==
operator unary-
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
Vector
rotateSpinor
(
Vector
vec
)
Source
Vector rotateSpinor(Vector vec) { return new Vector(x * vec.x - y * vec.y, x * vec.y + y * vec.x); }