From a5b20dcd57ddf7bdac8d9bce1aabf934badd837d Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Thu, 12 Apr 2018 14:00:53 +0200 Subject: Ray tracing against cmodels (WIP). --- src/common.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common.hpp') 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 { -- cgit