crossAxisValue method

double crossAxisValue(
  1. Vector2 vector
)

A helper for returning the cross axis for vector, given this direction.

Implementation

double crossAxisValue(Vector2 vector) {
  return vector[crossAxis.axisIndex];
}