[libre-riscv-dev] [Bug 142] Vector Ops needed (DOT, Cross, Dist, normalise, CORDIC, S/LERP etc)

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Sat Oct 5 08:28:06 BST 2019


http://bugs.libre-riscv.org/show_bug.cgi?id=142

--- Comment #2 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
Wondering how (whether) to add vec2 cross product and if vec4 cross product
exists.

Found this:

vec2D a, b;
...
double z = a.x * b.y - b.x * a.y;
return z;

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-riscv-dev mailing list