79383934

Date: 2025-01-24 10:12:36
Score: 0.5
Natty:
Report link

Since the question isn't clear if its about up in general or just the camera, I will provide a general answer that works for all objects (including cameras/OrbitalControls) created after this has been called:

import * as THREE from "three"
THREE.Object3D.DEFAULT_UP = new THREE.Vector3(0, 0, 1);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Corvince