Skip to content

Instantly share code, notes, and snippets.

Avatar
🐶
418 I'm a teapot!

Adam Rolczyk omzeton

🐶
418 I'm a teapot!
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, },