File size: 452 Bytes
1b5e137
 
cc654e9
1b5e137
5f32ba4
1b5e137
 
cc654e9
1b5e137
 
cc654e9
1b5e137
 
cc654e9
 
1b5e137
5f32ba4
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { Object3D } from "../core/Object3D";
import { Matrix4 } from "../math/Matrix4";
import { Vector3 } from "../math/Vector3";

class Camera extends Object3D {
    projectionMatrix: Matrix4;

    constructor(position: Vector3 = new Vector3(0, 0, -5)) {
        super();

        this.position = position;
        this.projectionMatrix = new Matrix4();
    }

    updateProjectionMatrix(width: number, height: number): void {}
}

export { Camera };