var y = "translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)";
function l(n, c, t) {
  var x = n.x.translate / c.x, i = n.y.translate / c.y, a = "translate3d(".concat(x, "px, ").concat(i, "px, 0) ");
  if (a += "scale(".concat(1 / c.x, ", ").concat(1 / c.y, ") "), t) {
    var o = t.rotate, r = t.rotateX, e = t.rotateY;
    o && (a += "rotate(".concat(o, "deg) ")), r && (a += "rotateX(".concat(r, "deg) ")), e && (a += "rotateY(".concat(e, "deg) "));
  }
  var s = n.x.scale * c.x, v = n.y.scale * c.y;
  return a += "scale(".concat(s, ", ").concat(v, ")"), a === y ? "none" : a;
}
export {
  l as buildProjectionTransform,
  y as identityProjection
};
//# sourceMappingURL=transform.es.js.map
