W3C home > Mailing lists > Public > www-style@w3.org > September 2010

Re: [css3-3d-transforms] matrix3d() uses column-major order, but CSSMatric properties row-major ?

From: Chris Marrin <cmarrin@apple.com>
Date: Thu, 09 Sep 2010 11:08:43 -0700
Cc: "www-style@w3.org list" <www-style@w3.org>
Message-id: <8AE5C752-58B2-4F7F-83A9-9F581C576A6D@apple.com>
To: Boris Zbarsky <bzbarsky@MIT.EDU>

On Sep 9, 2010, at 9:26 AM, Boris Zbarsky wrote:

>> Yes I agree that this can be more clear. But to be clear a proper homogeneous multiplication of a matrix by a vector would divide the resultant x, y, z values by the 4th component, w.
> 
> Sure (unless w == 0, etc).  But the point is, the spec needs to define all this, either inline or by reference.

Right. The only way w could equal 0 is if the matrix is singular, You'd have to catch this case, but rendering would not be an issue.

-----
~Chris
cmarrin@apple.com
Received on Thursday, 9 September 2010 18:09:17 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:31 GMT