import { threeUpdateMatrix } from "./threeUpdateMatrix.js";

/**
 *
 * @param {Object3D} object3
 */
export function threeUpdateTransform(object3) {

    /**
     signal that transformation matrix should be updated
     @see https://threejs.org/docs/index.html#api/core/Object3D.matrixWorldNeedsUpdate
     */
    threeUpdateMatrix(object3);

    object3.updateMatrixWorld(false);
}
