Euphoria
constants.h
Go to the documentation of this file.
1#pragma once
2
3namespace eu::kk
4{
5
6// OpenGL should support at least 16 textures
7constexpr std::size_t max_textures_supported = 16;
8
9// todo(Gustav): move these to some (render) settings
10
11constexpr float almost_zero = 0.01f;
13constexpr float alpha_transparency_limit = 1.0f - almost_zero;
14
15constexpr float outline_scale = 1.1f;
16
17constexpr int blur_samples = 10;
18
19}
20
constexpr float almost_zero
Definition constants.h:11
constexpr float alpha_transparency_limit
if alpha goes above this limit, it is no longer considered transparent
Definition constants.h:13
constexpr std::size_t max_textures_supported
Definition constants.h:7
constexpr float outline_scale
Definition constants.h:15
constexpr int blur_samples
Definition constants.h:17