Re: [css3-transforms] translate() vs. translate3d()

Simon Fraser (2012-02-09 09:00):

> <http://dev.w3.org/csswg/css3-transforms/#two-d-transform-functions>

I haven’t cared about the transform (or animation) specs at all. I took a first look at the combined spec right now and I’m wondering:

Why is it 

  rotate(α, tx, ty)   or   rotate(α)

but

  rotate3d(x, y, z, α)

i.e. reversed order of angle and origin – or more generally: why are 3D functions not mere extensions of 2D functions with additional z parameters?

Received on Friday, 10 February 2012 11:16:06 UTC