Mattias Holm wrote:
> And then we can easily immagine some extra nice features to have with
> respect to operators:
> 
>     vec ^ vec2; // 3d cross product for float vectors, for int vectors xor
> 
> Has this been discussed before?

Given that the wedge product is a defined operation on vectors (a^b is a
bivector in the common plane of a & b with area |a||b|sin θ)—related to,
but very distinct from, the cross product—I’d call this a BAD operator
overload.

(B.T.W., I am starting work on a Geometric Algebra library which will
implement all these products.)

—Joel Salomon

Reply via email to