v1.4.2 — Add snapToDirection() camera API
Adds a small camera API.
Changes
snapToDirection([x, y, z], refocus?). Snaps the perspective camera to view the scene from an arbitrary world-space direction (the vector points from the scene centre to the camera), then optionally refocuses. Lets callers define their own face / diagonal view angles without registering a named snap preset.