diff options
Diffstat (limited to 'src/game/shared/coord.hh')
| -rw-r--r-- | src/game/shared/coord.hh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/shared/coord.hh b/src/game/shared/coord.hh index 9d9be18..bd66c9b 100644 --- a/src/game/shared/coord.hh +++ b/src/game/shared/coord.hh @@ -1,3 +1,10 @@ +// SPDX-License-Identifier: BSD-2-Clause +// Copyright (c) 2025 Kirill Dmitrievich +// File: coord.hh +// Description: Coordinate domain change functions + +#ifndef SHARED_COORD_HH +#define SHARED_COORD_HH #pragma once #include "shared/const.hh" @@ -143,3 +150,5 @@ inline constexpr glm::fvec3 coord::to_fvec3(const chunk_pos& cpos, const glm::fv fpos.z + static_cast<float>(cpos.z << CHUNK_BITSHIFT), }; } + +#endif |
