- From: Kristian Sons <kristian.sons@dfki.de>
 - Date: Tue, 17 Jan 2012 09:31:54 +0100
 - To: "Dailey, David P." <david.dailey@sru.edu>
 - CC: "public-declarative3d@w3.org" <public-declarative3d@w3.org>
 
Dear David,
thanks for your input to that section. I think we have to refine that 
section to avoid misunderstandings.
Our intention for the Base Types is to develop a general math type 
system that:
1. Is able to compete with JS implementations (glMatrix etc.) in terms 
of performance and acceptance.
2. But is also usable across multiple formats (CSS3 3D Transforms, SVG, 
leverage Typed Arrays etc.)
> Perhaps something else is meant here than the way I read it, but it
> is not consistent with my understanding:
>
> http://www.w3.org/Graphics/SVG/IG/resources/svgprimer.html#multiple
I agree. Multiple arithmetic operations are possible. Though we didn't 
talk about the Attribute representation, the same is possible using the 
interface, e.g.:
var svg = document.createElementNS("http://www.w3.org/2000/svg", "svg");
var m = svg.createSVGMatrix();
m.translate(1,0).scale(2,2)
I guess what the author meant here was, that this is not possible:
var point = svg.createSVGPoint();
point.x = 5; point.y = 3;
m.scale(point); // Does not work, use m.scale(point.x, point.y) instead
There is few value for e.g. library authors to use SVGPoint internally 
compared to { x: 5, y: 1 }. On the other hand, using vec2, vec3 or 
points as parameters for matrix operations is convenient and default in 
JS maths libraries.
I think that is what was meant here. As already said, we have to state 
that more precisely to avoid confusion.
Best regards,
   Kristian
>
>
>
> regards
>
> David Dailey
>
-- 
________________________________________________________
Kristian Sons
Deutsches Forschungszentrum für Künstliche Intelligenz GmbH, DFKI
Agenten und Simulierte Realität
Campus, Geb. D 3 2, Raum 0.77
66123 Saarbrücken, Germany
Phone: +49 681 85775-3833
Phone: +49 681 302-3833
Fax:   +49 681 85775–2235
kristian.sons@dfki.de
http://www.xml3d.org
Geschäftsführung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
________________________________________________________
Received on Tuesday, 17 January 2012 08:32:29 UTC