Переименование s0 -> s, x1 -> x, x2 -> y, x3 -> z, что должно упростить читаемость кода. Также обновление документации

This commit is contained in:
Andrey Pokidov 2026-03-29 22:06:01 +07:00
parent d83ab7160d
commit b8d383da33
38 changed files with 2104 additions and 2070 deletions

View file

@ -9,30 +9,30 @@
inline void bgc_fp32_slerp3_reset(BGC_FP32_Slerp3* const slerp)
{
slerp->_cosine_weight.s0 = 1.0f;
slerp->_cosine_weight.x1 = 0.0f;
slerp->_cosine_weight.x2 = 0.0f;
slerp->_cosine_weight.x3 = 0.0f;
slerp->_cosine_weight.s = 1.0f;
slerp->_cosine_weight.x = 0.0f;
slerp->_cosine_weight.y = 0.0f;
slerp->_cosine_weight.z = 0.0f;
slerp->_sine_weight.s0 = 0.0f;
slerp->_sine_weight.x1 = 0.0f;
slerp->_sine_weight.x2 = 0.0f;
slerp->_sine_weight.x3 = 0.0f;
slerp->_sine_weight.s = 0.0f;
slerp->_sine_weight.x = 0.0f;
slerp->_sine_weight.y = 0.0f;
slerp->_sine_weight.z = 0.0f;
slerp->radians = 0.0f;
}
inline void bgc_fp64_slerp3_reset(BGC_FP64_Slerp3* const slerp)
{
slerp->_cosine_weight.s0 = 1.0;
slerp->_cosine_weight.x1 = 0.0;
slerp->_cosine_weight.x2 = 0.0;
slerp->_cosine_weight.x3 = 0.0;
slerp->_cosine_weight.s = 1.0;
slerp->_cosine_weight.x = 0.0;
slerp->_cosine_weight.y = 0.0;
slerp->_cosine_weight.z = 0.0;
slerp->_sine_weight.s0 = 0.0;
slerp->_sine_weight.x1 = 0.0;
slerp->_sine_weight.x2 = 0.0;
slerp->_sine_weight.x3 = 0.0;
slerp->_sine_weight.s = 0.0;
slerp->_sine_weight.x = 0.0;
slerp->_sine_weight.y = 0.0;
slerp->_sine_weight.z = 0.0;
slerp->radians = 0.0;
}