diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-29 07:55:44 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-30 18:22:56 +0200 |
commit | c95acde9a581594b87f9b7340df68c6824f59446 (patch) | |
tree | 0f10b117159774c7daa28787bdfe4ca50be68d1e /shaders | |
parent | a936a998fd6441679f123850bf4b62178ad4336e (diff) |
fix typo in comments
Diffstat (limited to 'shaders')
-rw-r--r-- | shaders/lightmap.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shaders/lightmap.cpp b/shaders/lightmap.cpp index a1635fa1..44df7500 100644 --- a/shaders/lightmap.cpp +++ b/shaders/lightmap.cpp @@ -313,10 +313,10 @@ void lightmap_shader::add_rect(Vector2 neighbor_offset, Vector2 min, Vector2 max }}; struct pair { uint8_t first, second; }; constexpr std::array<pair, 4> from = {{ - { 3, 1 }, // side #1: 3 -> 2, 1 -> 0 - { 1, 0 }, // side #2: 1 -> 3, 0 -> 2 - { 0, 2 }, // side #3: 0 -> 1, 2 -> 3 - { 2, 3 }, // side #4: 2 -> 0, 3 -> 1 + { 3, 1 }, // side #0: 3 -> 2, 1 -> 0 + { 1, 0 }, // side #1: 1 -> 3, 0 -> 2 + { 0, 2 }, // side #2: 0 -> 1, 2 -> 3 + { 2, 3 }, // side #3: 2 -> 0, 3 -> 1 }}; constexpr std::array<pair, 4> to = {{ { 2, 0 }, /* 3--1 1 */ |