在 2022-11-22 20:07, Martin Storsjö 写道:
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]> --- For some tests, this doesn't use literal hardcoded inputs, but composes the test inputs via other utility functions. Some implemented functions, such as the quaternion transform() functions, only match the WinSDK implementation for normalized quaternions (which practically is the only reasonable usecase anyway); the WinSDK implementation assumes normalized quaternions. --- .../include/windowsnumerics.impl.h | 179 ++++++++++++++++-- .../testcases/test_windowsnumerics.cpp | 113 ++++++++++- 2 files changed, 271 insertions(+), 21 deletions(-)
I have very little knowledge about this, but anyway, it might be good to check these functions in and see how people respond.
-- Best regards, LIU Hao
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
