mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-12 14:54:10 +00:00
fix math functions
This commit is contained in:
parent
5d809ef5c9
commit
fa1d769bdf
76 changed files with 582 additions and 169 deletions
|
@ -50,7 +50,7 @@ namespace sprout {
|
|||
typedef typename sprout::container_traits<Container>::value_type value_type;
|
||||
return sprout::fixed::detail::sinusoid_impl(
|
||||
cont,
|
||||
value_type(2) * sprout::math::pi<value_type>() * frequency / value_type(sprout::size(cont)),
|
||||
sprout::math::two_pi<value_type>() * frequency / value_type(sprout::size(cont)),
|
||||
amplitude,
|
||||
phase,
|
||||
sprout::container_indexes<Container>::make(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue