Развитие SLERP для трёхмерных пространств, а также развитие дуальных чисел, векторов и кватернионов

This commit is contained in:
Andrey Pokidov 2026-02-13 20:34:11 +07:00
parent 053af33444
commit 86ea23de7d
23 changed files with 1063 additions and 830 deletions

View file

Internal server error - Personal Git Server: Beyond coding. We Forge.

500

Internal server error

Forgejo version: 11.0.1+gitea-1.22.0

@ -145,23 +145,41 @@ typedef struct {
BGC_FP64_Quaternion _versor;
} BGC_FP64_Turn3;
// ================ Turn3 Slerp ================= //
// =================== Slerp3 =================== //
typedef struct {
float _s0_cos_weight, _s0_sin_weight;
float _x1_cos_weight, _x1_sin_weight;
float _x2_cos_weight, _x2_sin_weight;
float _x3_cos_weight, _x3_sin_weight;
BGC_FP32_Quaternion _cosine_weight, _sine_weight;
float radians;
} BGC_FP32_Turn3Slerp;