mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-11-16 19:17:56 +01:00
10 lines
190 B
JavaScript
10 lines
190 B
JavaScript
|
import * as THREE from 'three';
|
||
|
|
||
|
export default class Camera extends THREE.PerspectiveCamera {
|
||
|
matrixAutoUpdate = false;
|
||
|
|
||
|
update({ object }) {
|
||
|
this.matrix.copy(object.matrix);
|
||
|
}
|
||
|
}
|