summaryrefslogtreecommitdiffhomepage
path: root/test/raycast.cpp
blob: 1793f5b63771eb30087052e479343cb287525408 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include "app.hpp"
#include "src/raycast.hpp"
#include "src/world.hpp"

namespace floormat {

namespace {

#warning TODO!

void test1()
{
    // try reproducing the evil bug in src/raycast.cpp:285:
    //   c = w.at({last_ch + Vector2i{i - 1, j - 1}});
    // was incorrectly:
    //   c = w.at({last_ch - Vector2i{i - 1, j - 1}});
}

} // namespace

void test_app::test_raycast()
{

}

} // namespace floormat::test_app