Тестирование производительности: версоры + матрица + поворот

This commit is contained in:
Andrey Pokidov 2024-11-27 02:51:07 +07:00
parent 5d4472150b
commit a30629df67
3 changed files with 78 additions and 4 deletions

View file

@ -408,6 +408,8 @@ static inline void bg_fp64_versor_set_inverted_fp32(const BgFP32Versor* versor,
// ================ Combination ================= //
__declspec(noinline) void __bg_fp32_versor_normalize(const float square_modulus, __BgFP32DarkTwinVersor* twin);
static inline void bg_fp32_versor_combine(const BgFP32Versor* second, const BgFP32Versor* first, BgFP32Versor* result)
{
const float s0 = (second->s0 * first->s0 - second->x1 * first->x1) - (second->x2 * first->x2 + second->x3 * first->x3);