Removed some extra headers in util, restricted the scope of some others

This commit is contained in:
MitchellHansen
2017-03-23 00:45:13 -07:00
parent 7c534500f6
commit b493d56f7a
7 changed files with 26 additions and 56 deletions

View File

@@ -277,11 +277,11 @@ int main() {
handle->set_position(light);
}
light_pos[0] = static_cast<float>(sin(elapsed_time) * 100.0f + 300.0f);
light_pos[1] = static_cast<float>(sin(elapsed_time) * 100.0f + 300.0f);
//light_pos[0] = static_cast<float>(sin(elapsed_time) * 100.0f + 300.0f);
//light_pos[1] = static_cast<float>(sin(elapsed_time) * 100.0f + 300.0f);
sf::Vector3f light(light_pos[0], light_pos[1], light_pos[2]);
handle->set_position(light);
//sf::Vector3f light(light_pos[0], light_pos[1], light_pos[2]);
//handle->set_position(light);
ImGui::End();

View File

@@ -13,7 +13,6 @@ Map::Map(uint32_t dimensions) {
else
voxel_data[i] = 1;
}
}
uint64_t Map::generate_children(sf::Vector3i pos, int voxel_scale) {