import { Matrix, Vector3 } from '../loader/babylonjs-import';
import { copyVertex3ToRef } from '.';
export class Transforms {
    static _temp = {
        vectorA: Vector3.Zero(),
        matrixA: Matrix.Identity()
    };
    static TransformPointsWithParent(parent, dst) {
        const tmpVec = this._temp.vectorA;
        const matrix = parent.getWorldMatrix().invertToRef(this._temp.matrixA);
        for (const p of dst) {
            copyVertex3ToRef(Vector3.TransformCoordinatesFromFloatsToRef(p.x, p.y, p.z, matrix, tmpVec), p);
        }
    }
}
//# sourceMappingURL=Transforms.js.map