Small tweaks while debugging. Will get 1:1 traversal working 100% before tackling jump_power

This commit is contained in:
MitchellHansen
2017-10-19 22:21:33 -07:00
parent 513a827645
commit dcf355c636
4 changed files with 22 additions and 23 deletions

View File

@@ -30,7 +30,7 @@ bool Application::init_clcaster() {
sf::Image bitmap = map->GenerateHeightBitmap(sf::Vector3i(MAP_X, MAP_Y, MAP_Z));
map->ApplyHeightmap(bitmap);
map->octree.CastRayOctree(sf::Vector2f(1.5f, -2.0f), sf::Vector3f(5.0f, 5.0f, 5.0f));
map->octree.CastRayOctree(sf::Vector2f(1.5f, -2.0f), sf::Vector3f(5.1f, 5.1f, 5.1f));
raycaster->assign_octree(map);
raycaster->assign_map(map);