Replace include guards with pragma once

This commit is contained in:
2023-10-05 21:40:04 +02:00
parent b9cfbaec6b
commit c976141c51
42 changed files with 83 additions and 193 deletions

View File

@@ -1,5 +1,4 @@
#ifndef __JABYENGINE_MATH_HELPER_HPP__
#define __JABYENGINE_MATH_HELPER_HPP__
#pragma once
#include "types.hpp"
namespace JabyEngine {
@@ -13,6 +12,4 @@ namespace JabyEngine {
const auto [tenth, rest] = div_and_mod(value, static_cast<uint8_t>(10));
return (tenth << 4 | rest);
}
}
#endif //!__JABYENGINE_MATH_HELPER_HPP__
}