From 53b5442dad111e8b88ae5af46af2c075f7f4386a Mon Sep 17 00:00:00 2001 From: Alug Date: Tue, 13 Feb 2024 10:40:42 +0100 Subject: [PATCH] bruh --- src/m_fixed.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/m_fixed.h b/src/m_fixed.h index 80fe660dd..4e4c79c65 100644 --- a/src/m_fixed.h +++ b/src/m_fixed.h @@ -101,6 +101,8 @@ FUNCMATH FUNCINLINE static ATTRINLINE fixed_t FixedInt(fixed_t a) \param b fixed_t number \return a/b + + */ FUNCMATH FUNCINLINE static ATTRINLINE fixed_t FixedDiv(fixed_t a, fixed_t b) { @@ -134,6 +136,8 @@ FUNCMATH FUNCINLINE static ATTRINLINE fixed_t FixedRem(fixed_t x, fixed_t y) \param x fixed_t number \return sqrt(x) + + */ FUNCMATH fixed_t FixedSqrt(fixed_t x); @@ -143,6 +147,8 @@ FUNCMATH fixed_t FixedSqrt(fixed_t x); \param y fixed_t number \return sqrt(x*x+y*y) + + */ FUNCMATH fixed_t FixedHypot(fixed_t x, fixed_t y); @@ -151,6 +157,8 @@ FUNCMATH fixed_t FixedHypot(fixed_t x, fixed_t y); \param x fixed_t number \return floor(x) + + */ FUNCMATH FUNCINLINE static ATTRINLINE fixed_t FixedFloor(fixed_t x) { @@ -174,6 +182,8 @@ FUNCMATH FUNCINLINE static ATTRINLINE fixed_t FixedFloor(fixed_t x) \param x fixed_t number \return trunc(x) + + */ FUNCMATH FUNCINLINE static ATTRINLINE fixed_t FixedTrunc(fixed_t x) { @@ -195,6 +205,8 @@ FUNCMATH FUNCINLINE static ATTRINLINE fixed_t FixedTrunc(fixed_t x) \param x fixed_t number \return ceil(x) + + */ FUNCMATH FUNCINLINE static ATTRINLINE fixed_t FixedCeil(fixed_t x) { @@ -220,6 +232,8 @@ FUNCMATH FUNCINLINE static ATTRINLINE fixed_t FixedCeil(fixed_t x) \param x fixed_t number \return round(x) + + */ FUNCMATH FUNCINLINE static ATTRINLINE fixed_t FixedRound(fixed_t x) {