Croquet Worldcore Vector Overview

Worldcore Vector is lightweight vector library that is used throughout Worldcore. It supports:

  • 2-vectors
  • 3-vectors
  • quaternions
  • 2x2 matrices
  • 4x4 matrices

All angles are radians. The vectors and matrices are all JavaScript arrays. All functions are global exports.