Vec class
Properties
Methods
-
add(
Vec other) → Vec -
clone(
) → Vec -
cpr(
Vec other) → double -
dpr(
Vec other) → double -
equals(
Vec other) → bool -
lrp(
Vec other, double t) → Vec -
mul(
double scalar) → Vec -
neg(
) → Vec -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
per(
) → Vec -
rotWith(
Vec center, double angle) → Vec -
sub(
Vec other) → Vec -
toString(
) → String -
A string representation of this object.
inherited
-
uni(
) → Vec
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
addVec(
Vec a, Vec b) → Vec -
addXY(
Vec a, double x, double y) → Vec -
crossProduct(
Vec a, Vec b) → double -
dist(
Vec a, Vec b) → double -
dist2Between(
Vec a, Vec b) → double -
dotProduct(
Vec a, Vec b) → double -
from(
dynamic point) → Vec -
lerpVec(
Vec a, Vec b, double t) → Vec -
mulVec(
Vec v, double scalar) → Vec -
rotWithVec(
Vec point, Vec center, double angle) → Vec -
subVec(
Vec a, Vec b) → Vec