transformation functions for voxel.js voxel regions