Change to use gl-matrix for position/rotation vectors, instead of three.js