3D Math Data structures/SIMD

Bill Baxter dnewsgroup at billbaxter.com
Fri Dec 21 03:59:23 PST 2007


Janice Caron wrote:
> On 12/21/07, Lukas Pinkowski <Lukas.Pinkowski at web.de> wrote:
>> Well, as for the typenames, I guess something along

> And as for API, well, the operator overloads should just do the
> obvious thing (although I admit we lack dot-product and cross-product
> operators, but if you used u*v for dot product and u.cross(v) for
> cross product, I don't see anyone complaining).

I'd complain. :-)  Everyone knows that  dot(a,b) and cross(a,b) are the 
way God intended C-derived languages to implement the dot and cross 
products. :-)  [*]

--bb

[*] Unless you're downs, of course, and then it's a /dot/ b and  a 
/cross/ b.



More information about the Digitalmars-d mailing list