Переименование s0 -> s, x1 -> x, x2 -> y, x3 -> z, что должно упростить читаемость кода. Также обновление документации
This commit is contained in:
parent
d83ab7160d
commit
b8d383da33
38 changed files with 2104 additions and 2070 deletions
|
|
@ -5,24 +5,24 @@
|
|||
|
||||
typedef struct
|
||||
{
|
||||
float x1, x2;
|
||||
float x, y;
|
||||
} BGC_FP32_Vector2;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
double x1, x2;
|
||||
double x, y;
|
||||
} BGC_FP64_Vector2;
|
||||
|
||||
// ================== Vector3 =================== //
|
||||
|
||||
typedef struct
|
||||
{
|
||||
float x1, x2, x3;
|
||||
float x, y, z;
|
||||
} BGC_FP32_Vector3;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
double x1, x2, x3;
|
||||
double x, y, z;
|
||||
} BGC_FP64_Vector3;
|
||||
|
||||
// ================== Matrix2x2 ================= //
|
||||
|
|
@ -128,11 +128,11 @@ typedef struct
|
|||
// ================= Quaternion ================= //
|
||||
|
||||
typedef struct {
|
||||
float s0, x1, x2, x3;
|
||||
float s, x, y, z;
|
||||
} BGC_FP32_Quaternion;
|
||||
|
||||
typedef struct {
|
||||
double s0, x1, x2, x3;
|
||||
double s, x, y, z;
|
||||
} BGC_FP64_Quaternion;
|
||||
|
||||
// =================== Turn3 ==================== //
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue