Развитие 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_POSITION2_H_INCLUDED_
#define _BGC_POSITION2_H_INCLUDED_
#include "./types.h"
#include "./vector2.h"
#include "./affine2.h"
#include "./matrix2x2.h"
#include "./turn2.h"
// ==================== Types ==================== //
typedef struct {
BGC_FP32_Turn2 turn;
BGC_FP32_Vector2 shift;
} BGC_FP32_Position2;
typedef struct {
BGC_FP64_Turn2 turn;
BGC_FP64_Vector2 shift;
} BGC_FP64_Position2;
// ==================== Reset ==================== //
inline void bgc_fp32_position2_reset(BGC_FP32_Position2* position)