Развитие 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

@ -1,22 +1,11 @@
#ifndef _BGC_POSITION3_H_INCLUDED_
#define _BGC_POSITION3_H_INCLUDED_
#include "./types.h"
#include "./vector3.h"
#include "./affine3.h"
#include "./matrix3x3.h"
#include "./turn3.h"
// ==================== Types ==================== //
typedef struct {
BGC_FP32_Turn3 turn;
BGC_FP32_Vector3 shift;
} BGC_FP32_Position3;
typedef struct {
BGC_FP64_Turn3 turn;
BGC_FP64_Vector3 shift;
} BGC_FP64_Position3;
// ==================== Reset ==================== //
inline void bgc_fp32_position3_reset(BGC_FP32_Position3 * position)