diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2018-04-12 14:00:53 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2018-04-12 14:00:53 +0200 |
commit | a5b20dcd57ddf7bdac8d9bce1aabf934badd837d (patch) | |
tree | e05853e98e2481f5ac939919b58227190e1a07d0 /src/common.hpp | |
parent | 30c5c419aedd0e5aae92be6e0eee83f0b6690c6e (diff) |
Ray tracing against cmodels (WIP).
Diffstat (limited to 'src/common.hpp')
-rw-r--r-- | src/common.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common.hpp b/src/common.hpp index c2c8414..ef96cc6 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -122,6 +122,9 @@ namespace world { float frac; } trace_t; + // for testing + trace_t ray_v_rect(v2f_t start, v2f_t end, rectf_t rect); + void register_tile(uint8_t type, cflags_t cflags); class world_t { |