crossAxis method

double crossAxis(
  1. Vector2 vector
)

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

Implementation

double crossAxis(Vector2 vector) {
  return vector[crossAxisVectorIndex];
}