Переход на парадигму Destination first в порядке параметров функий
This commit is contained in:
parent
f7e41645fe
commit
03627f4401
41 changed files with 1570 additions and 1978 deletions
|
|
@ -3,8 +3,8 @@
|
|||
extern inline void bgc_fp32_vector2_reset(BGC_FP32_Vector2* vector);
|
||||
extern inline void bgc_fp64_vector2_reset(BGC_FP64_Vector2* vector);
|
||||
|
||||
extern inline void bgc_fp32_vector2_make(const float x1, const float x2, BGC_FP32_Vector2* destination);
|
||||
extern inline void bgc_fp64_vector2_make(const double x1, const double x2, BGC_FP64_Vector2* destination);
|
||||
extern inline void bgc_fp32_vector2_make(BGC_FP32_Vector2* destination, const float x1, const float x2);
|
||||
extern inline void bgc_fp64_vector2_make(BGC_FP64_Vector2* destination, const double x1, const double x2);
|
||||
|
||||
extern inline float bgc_fp32_vector2_get_square_modulus(const BGC_FP32_Vector2* vector);
|
||||
extern inline double bgc_fp64_vector2_get_square_modulus(const BGC_FP64_Vector2* vector);
|
||||
|
|
@ -18,50 +18,50 @@ extern inline int bgc_fp64_vector2_is_zero(const BGC_FP64_Vector2* vector);
|
|||
extern inline int bgc_fp32_vector2_is_unit(const BGC_FP32_Vector2* vector);
|
||||
extern inline int bgc_fp64_vector2_is_unit(const BGC_FP64_Vector2* vector);
|
||||
|
||||
extern inline void bgc_fp32_vector2_copy(const BGC_FP32_Vector2* source, BGC_FP32_Vector2* destination);
|
||||
extern inline void bgc_fp64_vector2_copy(const BGC_FP64_Vector2* source, BGC_FP64_Vector2* destination);
|
||||
extern inline void bgc_fp32_vector2_copy(BGC_FP32_Vector2* destination, const BGC_FP32_Vector2* source);
|
||||
extern inline void bgc_fp64_vector2_copy(BGC_FP64_Vector2* destination, const BGC_FP64_Vector2* source);
|
||||
|
||||
extern inline void bgc_fp32_vector2_swap(BGC_FP32_Vector2* vector1, BGC_FP32_Vector2* vector2);
|
||||
extern inline void bgc_fp64_vector2_swap(BGC_FP64_Vector2* vector1, BGC_FP64_Vector2* vector2);
|
||||
|
||||
extern inline void bgc_fp64_vector2_convert_to_fp32(const BGC_FP64_Vector2* source, BGC_FP32_Vector2* destination);
|
||||
extern inline void bgc_fp32_vector2_convert_to_fp64(const BGC_FP32_Vector2* source, BGC_FP64_Vector2* destination);
|
||||
extern inline void bgc_fp32_vector2_convert_to_fp64(BGC_FP64_Vector2* destination, const BGC_FP32_Vector2* source);
|
||||
extern inline void bgc_fp64_vector2_convert_to_fp32(BGC_FP32_Vector2* destination, const BGC_FP64_Vector2* source);
|
||||
|
||||
extern inline void bgc_fp32_vector2_add(const BGC_FP32_Vector2* vector1, const BGC_FP32_Vector2* vector2, BGC_FP32_Vector2* sum);
|
||||
extern inline void bgc_fp64_vector2_add(const BGC_FP64_Vector2* vector1, const BGC_FP64_Vector2* vector2, BGC_FP64_Vector2* sum);
|
||||
extern inline void bgc_fp32_vector2_add(BGC_FP32_Vector2* sum, const BGC_FP32_Vector2* vector1, const BGC_FP32_Vector2* vector2);
|
||||
extern inline void bgc_fp64_vector2_add(BGC_FP64_Vector2* sum, const BGC_FP64_Vector2* vector1, const BGC_FP64_Vector2* vector2);
|
||||
|
||||