quick comments on Matrix

https://dvcs.w3.org/hg/FXTF/raw-file/default/matrix/index.html

In the array/sequence Matrix constructors, what happens if the length of
the array/sequence is not 6 or 16?

In the string constructor, what happens if the string is not valid?

Why don't you add the default parameters for Matrix methods such as scaleBy
to the WebIDL directly?

In rotateFromVector(By), what happens if the x or y coordinate is zero?
Actually it's not clear to me why these can't be zero.

I assume toFloat32/64Array always return a 16-element array but this should
be stated.

What's the rationale for using double for matrix elements? Are
implementations allowed to use 32-bit precision internally?

Rob
-- 
Wrfhf pnyyrq gurz gbtrgure naq fnvq, “Lbh xabj gung gur ehyref bs gur
Tragvyrf ybeq vg bire gurz, naq gurve uvtu bssvpvnyf rkrepvfr nhgubevgl
bire gurz. Abg fb jvgu lbh. Vafgrnq, jubrire jnagf gb orpbzr terng nzbat
lbh zhfg or lbhe freinag, naq jubrire jnagf gb or svefg zhfg or lbhe fynir
— whfg nf gur Fba bs Zna qvq abg pbzr gb or freirq, ohg gb freir, naq gb
tvir uvf yvsr nf n enafbz sbe znal.” [Znggurj 20:25-28]

Received on Thursday, 14 March 2013 02:06:42 UTC