Update C headers to be C++

This commit is contained in:
Jaby
2024-04-07 10:46:35 -05:00
committed by Jaby
parent 276713db6a
commit 4f80a6e25e
58 changed files with 153 additions and 225 deletions

View File

@@ -1,5 +1,5 @@
#pragma once
#include "stdint.h"
#include "stdint.hpp"
namespace math {
template<typename T>
@@ -74,8 +74,5 @@ static constexpr gte_float operator""_gf(long double value) {
return gte_float::from_double(value);
}
using sin_t = int32_t;
using cos_t = int32_t;
sin_t sin(deg_t value);
cos_t cos(deg_t value);
gte_float sin(deg_t value);
gte_float cos(deg_t value);