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

Re: Matrix4x4 proposal

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 17 Jan 2012 10:42:32 -0800
Message-ID: <CAAWBYDAaOcC_cvFtQQS05M11bMh1R+eJTUJQB0YfOnLN9LMt=Q@mail.gmail.com>
To: Dean Jackson <dino@apple.com>
Cc: Johannes Behr <johannes.behr@igd.fraunhofer.de>, public-fx@w3.org, igor.oliveira@openbossa.org, public-d3d mlist <public-declarative3d@w3.org>, Timm Drevensek <timm.drevensek@igd.fraunhofer.de>
On Mon, Jan 16, 2012 at 2:24 PM, Dean Jackson <dino@apple.com> wrote:
> On 14/01/2012, at 2:49 AM, Johannes Behr wrote:
>> Before going into more details: Was there a good reason for just a single matrix interface and not a minimalistic but useful set of base types (e.g. Vec3, Vec4, Matrix4x4 or even Quaternion) which would be really helpful for various math related operations (e.g composition/decomposition)? We (especially Timm) thought about something similar for the dec3d group: http://www.w3.org/community/declarative3d/wiki/Base_Types
>
> I considered this. My main concern is fear of polluting the global JS namespace with generic classes that might be better developed by the official ECMAScript committee. Adding interfaces to the DOM when they are clearly related to the Web and Web documents is ok, but I think we need to show caution adding 6 interfaces that have broader use. I believe this is why the WebGL group discussed the *Array classes with ECMA.
>
> I would prefer to have the base types as you suggest, but I'm not sure how to proceed. Maybe I'm being overly cautious.

I'd suggest a good first step would be to ask about this on es-discuss.

~TJ
Received on Tuesday, 17 January 2012 18:43:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 17 January 2012 18:43:31 GMT