diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-09 12:22:14 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-09 12:22:14 +0200 |
commit | cf6c5668f1d41a0fe02f97351a522ccfb3f245d4 (patch) | |
tree | 2dd795feb2b735773ca936effa57884986196aca /shaders | |
parent | b581b559fe426f39b1d548ca27f03cb22dd2ed22 (diff) |
a
Diffstat (limited to 'shaders')
-rw-r--r-- | shaders/tile-shader.cpp | 4 | ||||
-rw-r--r-- | shaders/tile-shader.hpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/shaders/tile-shader.cpp b/shaders/tile-shader.cpp index 4648b263..bf5038bc 100644 --- a/shaders/tile-shader.cpp +++ b/shaders/tile-shader.cpp @@ -8,7 +8,7 @@ #include <Magnum/GL/Shader.h> #include <Magnum/GL/Version.h> -namespace Magnum::Examples { +namespace floormat { tile_shader::tile_shader() { @@ -51,4 +51,4 @@ tile_shader& tile_shader::set_tint(const Vector4& tint) return *this; } -} // namespace Magnum::Examples +} // namespace floormat diff --git a/shaders/tile-shader.hpp b/shaders/tile-shader.hpp index c0f0c656..0e1e4442 100644 --- a/shaders/tile-shader.hpp +++ b/shaders/tile-shader.hpp @@ -4,7 +4,7 @@ #include <Magnum/Math/Vector3.h> #include <Magnum/Math/Vector4.h> -namespace Magnum::Examples { +namespace floormat { struct tile_shader : GL::AbstractShaderProgram { @@ -35,4 +35,4 @@ constexpr Vector2 tile_shader::project(const Vector3 pt) return { x-y, (x+y+z*2)*.75f }; } -} // namespace Magnum::Examples +} // namespace floormat |