Utilities for ThreeJS