Развитие SLERP для трёхмерных пространств, а также развитие дуальных чисел, векторов и кватернионов
This commit is contained in:
parent
053af33444
commit
86ea23de7d
23 changed files with 1063 additions and 830 deletions
|
|
@ -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;
|
||||