On Wed, 23 Nov 2022, Martin Storsjö wrote:

Also implement a couple make_float4x4_* functions that are useful
for constructing input for some tests.

This reduces the number of unimplemented functions in this header
a little bit.

Signed-off-by: Martin Storsjö <[email protected]>

---
v2: Added an orthogonality check in decompose(), and check that no
scale factors are zero (which would lead to divisions by zero).
Rewrote slightly make_float4x4_from_quaternion based on a
different reference.

In discussion with Alvin, I realized that the decompose() function still doesn't handle the case correctly where one axis is inverted (essentially changing from right handed basis vectors to left handed ones).

I guess it's best to just omit this function and the associated test for now, and leave this function until later, when we feel more confident about it.

// Martin

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to