Just™ Game Engine
base_internal.hpp
Go to the documentation of this file.
1/*
2 * Copyright (C) 2021-2022 Konstanty Misiak
3 *
4 * SPDX-License-Identifier: MIT
5 */
6
7#pragma once
8#include "core/base.hpp"
9#include "debug/profiling.hpp"
10
11namespace jng {
12
13 constexpr float PHYSICS_SCALE = 30.f;
14 constexpr float PHYSICS_TIMESTEP = 1.f / 60.f;
15 constexpr int PHYSICS_VEL_ITERATIONS = 8;
16 constexpr int PHYSICS_POS_ITERATIONS = 3;
17
18 constexpr float PI_F = 3.14159265f;
19 constexpr double PI_D = 3.141592653589793;
20
21} // namespace jng
Definition: base.hpp:11
constexpr int PHYSICS_POS_ITERATIONS
Definition: base_internal.hpp:16
constexpr float PHYSICS_SCALE
Definition: base_internal.hpp:13
constexpr float PHYSICS_TIMESTEP
Definition: base_internal.hpp:14
constexpr float PI_F
Definition: base_internal.hpp:18
constexpr int PHYSICS_VEL_ITERATIONS
Definition: base_internal.hpp:15
constexpr double PI_D
Definition: base_internal.hpp:19