mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
add sprout::atan
This commit is contained in:
parent
1417a8acd2
commit
8c23e809a4
6 changed files with 96 additions and 5 deletions
|
@ -19,7 +19,7 @@ namespace sprout {
|
|||
>
|
||||
inline SPROUT_CONSTEXPR FloatType
|
||||
sin(FloatType x) {
|
||||
return -sprout::math::detail::cos(x + sprout::math::pi_div_two<FloatType>());
|
||||
return -sprout::math::detail::cos(x + sprout::math::half_pi<FloatType>());
|
||||
}
|
||||
|
||||
template<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue