Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/functions.h')
-rw-r--r--src/common/functions.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/functions.h b/src/common/functions.h
index d13fd17..18dfc82 100644
--- a/src/common/functions.h
+++ b/src/common/functions.h
@@ -42,7 +42,10 @@ unsigned int randomi(const unsigned int max);
float sgnf(float value);
/// return an angle in the ]-180,180] range
-float degreesf(float angle);
+float degrees180f(float angle);
+
+/// return an angle in the [0,360[ range
+float degrees360f(float angle);
} // namespace common