Skip to content

Instantly share code, notes, and snippets.

Avatar
🔆
騰雲駕霧

Adam Rolczyk omzeton

🔆
騰雲駕霧
View GitHub Profile
View tylko-camera-settings.js
const defaultSettings = {
range: { min: 1, max: 50000 },
fov: 20,
snapping: [
{ theta: 0.52, phi: 1.4, x: 0, },
{ theta: -0.52, phi: 1.4, x: 0, },
{ theta: 0, phi: 1.4, x: 0, },
],
geometryMargins: { left: 50, right: 0, top: 0, bottom: 50, front: 0, back: 0, },
screenMargins: { left: 0, right: 0, top: 0, bottom: 0, },