fracf
This commit is contained in:
@@ -82,6 +82,8 @@ inline void wrap( float &x, float n )
|
|||||||
x = fmodf(x,n);
|
x = fmodf(x,n);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline float fracf( float f ) { return f - truncf(f); }
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
void CircularShift( vector<T> &v, int dist )
|
void CircularShift( vector<T> &v, int dist )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user