UNPKG

jj-spielfigur-3d

Version:

Comic-Figures and Archetypes in 3D for Games / E-Learning drawn by Jens Janetzki.

9 lines (7 loc) 227 B
const THREE = require('three'); export default function cam () { this.camera = new THREE.PerspectiveCamera( 30, 1, 0.1, 1000 ) this.camera.position.set( 0, -2, 4.5 ); this.camera.lookAt( 0, 0.5 ); return this.camera }