import { threeUpdateTransform } from "../../util/threeUpdateTransform.js";

/**
 *
 * @param {Camera} camera
 */
export function update_camera_transform(camera) {

    const three_camera = camera.object;

    if (three_camera === null) {
        return;
    }

    three_camera.updateProjectionMatrix();
    threeUpdateTransform(three_camera);
}
