W3C home > Mailing lists > Public > public-fx@w3.org > January to March 2013

Re: comments on Matrix

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 20 Mar 2013 16:47:44 -0700
Message-ID: <CAAWBYDBgKHAM2qGyEoLA3mA4UEYjpamQOoh3z9B5JpXd_WPVzg@mail.gmail.com>
To: Rik Cabanier <cabanier@gmail.com>
Cc: Benoit Jacob <jacob.benoit.1@gmail.com>, "public-fx@w3.org" <public-fx@w3.org>
On Wed, Mar 20, 2013 at 4:44 PM, Rik Cabanier <cabanier@gmail.com> wrote:
> Maybe the 2D'ness of a matrix can be implied by its construction and if you
> apply 2d or 3d matrices or operations to it?

I suspect this would be reasonable.  You'd check for explicit 0s in
the correct indexes at construction time, and then carry around a flag
for whether it's 2d or not, which gets unset as soon as you perform a
3d operation.

~TJ
Received on Wednesday, 20 March 2013 23:48:31 GMT

This archive was generated by hypermail 2.3.1 : Wednesday, 20 March 2013 23:48:31 GMT