Optionalx: numberOptionaly: numberStatic Readonlys_Static Readonlys_Static Readonlys_Static Readonlys_Static ReadonlyUNITXStatic ReadonlyUNITYStatic ReadonlyZEROAdd a vector to this vector.
Add a vector to this vector.
Perform the cross product on two vectors. In 2D this produces a scalar.
Perform the dot product on two vectors.
Does this vector contain finite coordinates?
Get the length of this vector (the norm).
Get the length squared. For performance, use this instead of b2Vec2::Length (if possible).
Negate this vector.
Convert this vector into a unit vector. Returns the length.
Multiply this vector by a scalar.
Set this vector to some specified coordinates.
Set this vector to all zeros.
Skew this vector such that dot(skew_vec, other) == cross(vec, other)
Subtract a vector from this vector.
Subtract a vector from this vector.
StaticAddStaticAddStaticAddStaticClampStaticCrossPerform the cross product on two vectors. In 2D this produces a scalar.
StaticCrossStaticCrossStaticCrossStaticCrossStaticDistanceStaticDistanceStaticDotPerform the dot product on two vectors.
StaticEqualsStaticExtentsStaticMaxStaticMidStaticMinStaticNegateStaticNormalizeStaticRotateStaticScaleStaticSkewStaticSubtractStaticSubtract
A 2D column vector.