[webkit-dev] Complex and Vector3 classes in WTF?

Maciej Stachowiak mjs at apple.com
Wed Sep 1 12:29:12 PDT 2010


On Sep 1, 2010, at 11:43 AM, Chris Marrin wrote:

> 
> But I agree with Maciej that all of the public API is transformation oriented. Even things like inverse() and transpose() have application in doing transforms. I think it would be a stretch to use this 4x4 matrix for general purposes. A general matrix class usually has to deal with different dimensions, for instance.
> 
> But I am loath to call it HomogeneousTransform, given the fact that Maciej and I have spelled it differently (both are accepted spellings) and it will be really hard for people to get used to spelling such an uncommon word.
> 
> If you look at the "Uses" section of http://en.wikipedia.org/wiki/Transformation_matrix you'll see that they consider the term improper as well. And they have a good point. Since they recommend the term "general transformation matrix" to distinguish it from the more restricted "affine transformation", then simply calling it Transform seems appropriate.

Transform sounds ok to me, actually, even though it is a little broad.

Regards,
Maciej



More information about the webkit-dev mailing list