From 25401860fd4c6eee27817ba4eca8cc77e5c059f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Fri, 4 Dec 2015 21:50:40 -0800 Subject: [PATCH] Added fsin/fcos. --- include/bx/fpumath.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/bx/fpumath.h b/include/bx/fpumath.h index 30b8957..80b0aaf 100644 --- a/include/bx/fpumath.h +++ b/include/bx/fpumath.h @@ -94,6 +94,16 @@ namespace bx return _a * _a; } + inline float fsin(float _a) + { + return sinf(_a); + } + + inline float fcos(float _a) + { + return cosf(_a); + } + inline float fsqrt(float _a) { return sqrtf(_a);