Centers the Scene at the origin, or above/below it. Transformations from animation, skinning, and morph targets are not taken into account.
Example:
await document.transform(center({pivot: 'below'}));
Made by Don McCurdy • Documented with greendoc • © 2023 MIT License
center