Небольшие исправления
This commit is contained in:
parent
89dfd7644b
commit
857d79e572
4 changed files with 8 additions and 8 deletions
|
|
@ -165,7 +165,7 @@ void bgc_versor_set_turn_fp64(const double x1, const double x2, const double x3,
|
|||
|
||||
// ========= Make Direction Difference ========== //
|
||||
|
||||
inline int _bgc_versor_make_direction_turn_fp32(const BgcVector3FP32* start, const BgcVector3FP32* end, const float square_modulus_product, BgcVersorFP32* result)
|
||||
static int _bgc_versor_make_direction_turn_fp32(const BgcVector3FP32* start, const BgcVector3FP32* end, const float square_modulus_product, BgcVersorFP32* result)
|
||||
{
|
||||
BgcVector3FP32 orthogonal_axis;
|
||||
|
||||
|
|
@ -193,7 +193,7 @@ inline int _bgc_versor_make_direction_turn_fp32(const BgcVector3FP32* start, con
|
|||
return BGC_ZERO_TURN;
|
||||
}
|
||||
|
||||
inline int _bgc_versor_make_direction_turn_fp64(const BgcVector3FP64* start, const BgcVector3FP64* end, const double square_modulus_product, BgcVersorFP64* result)
|
||||
static int _bgc_versor_make_direction_turn_fp64(const BgcVector3FP64* start, const BgcVector3FP64* end, const double square_modulus_product, BgcVersorFP64* result)
|
||||
{
|
||||
BgcVector3FP64 orthogonal_axis;
|
||||
|
||||
|
|
@ -249,7 +249,7 @@ int bgc_versor_make_direction_difference_fp64(const BgcVector3FP64* start, const
|
|||
|
||||
// =============== Set Directions =============== //
|
||||
|
||||
inline int _bgc_versor_validate_basis_fp32(const float primary_square_modulus, const float auxiliary_square_modulus, const float orthogonal_square_modulus)
|
||||
static int _bgc_versor_validate_basis_fp32(const float primary_square_modulus, const float auxiliary_square_modulus, const float orthogonal_square_modulus)
|
||||
{
|
||||
if (primary_square_modulus <= BGC_SQUARE_EPSYLON_FP32) {
|
||||
//TODO: add error code for: primary_vector is zero
|
||||
|
|
@ -269,7 +269,7 @@ inline int _bgc_versor_validate_basis_fp32(const float primary_square_modulus, c
|
|||
return BGC_SUCCESS;
|
||||
}
|
||||
|
||||
inline int _bgc_versor_validate_basis_fp64(const double primary_square_modulus, const double auxiliary_square_modulus, const double orthogonal_square_modulus)
|
||||
static int _bgc_versor_validate_basis_fp64(const double primary_square_modulus, const double auxiliary_square_modulus, const double orthogonal_square_modulus)
|
||||
{
|
||||
if (primary_square_modulus <= BGC_SQUARE_EPSYLON_FP64) {
|
||||
//TODO: add error code for: primary_vector is zero
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue