Добавлено вощведение в степень комплексного числа
This commit is contained in:
parent
08c1e6d148
commit
f547ba69e6
3 changed files with 50 additions and 2 deletions
|
|
@ -129,7 +129,7 @@ inline float bgc_tangent_pair_get_angle_fp32(const BgcTangentPairFP32* tangent,
|
||||||
return 0.75f * bgc_angle_get_full_circle_fp32(unit);
|
return 0.75f * bgc_angle_get_full_circle_fp32(unit);
|
||||||
}
|
}
|
||||||
|
|
||||||
return bgc_radians_to_units_fp32(atan2f(tangent->cos, tangent->sin), unit);
|
return bgc_radians_to_units_fp32(atan2f(tangent->sin, tangent->cos), unit);
|
||||||
}
|
}
|
||||||
|
|
||||||