"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setupCamera = setupCamera;
const core_1 = require("@vived/core");
const Transform3D_1 = require("../../Transform3D");
const Entities_1 = require("../Entities");
const PM_1 = require("../PM");
function setupCamera(appObjects) {
    const ao = appObjects.getOrCreate("Camera");
    const camera = (0, Entities_1.makeCameraEntity)(ao);
    (0, PM_1.makeCameraPM)(ao);
    (0, Transform3D_1.makeTransform3DPM)(ao);
    camera.transform.localPosition = new core_1.Vector3(0, 0, -0.6);
}
//# sourceMappingURL=setupCamera.js.map