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

Re: Matrix4x4 proposal

From: Chris Marrin <cmarrin@apple.com>
Date: Wed, 18 Jan 2012 07:31:53 -0800
Cc: Dean Jackson <dino@apple.com>, 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>
Message-id: <E8693B87-0922-4966-B7C0-4E70974FB4F8@apple.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>

On Jan 17, 2012, at 10:42 AM, Tab Atkins Jr. wrote:

> 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.

I think that's fine. But IMHO, linear algebra seems like too specific a use case for a set of classes in the core of JS.

Received on Wednesday, 18 January 2012 15:33:33 UTC

This archive was generated by hypermail 2.3.1 : Monday, 22 June 2015 03:33:46 UTC