diff options
Diffstat (limited to 'src/math/functions.h')
-rw-r--r-- | src/math/functions.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/math/functions.h b/src/math/functions.h index 27a068e..8135392 100644 --- a/src/math/functions.h +++ b/src/math/functions.h @@ -107,15 +107,6 @@ inline void swap(float &x, float &y) y = tmp; } -/// float to the n-th power -inline float pow(const float x, const size_t pow) { - float r = 1; - for (size_t i = 1; i <= pow; i++) { - r *= x; - } - return r; -} - } // namespace math #endif // __INCLUDED_MATH_FUNCTIONS_H__ |