1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-07 10:52:23 +00:00

namespace hyperpoint_vec removed

This commit is contained in:
Zeno Rogue
2019-08-09 14:03:43 +02:00
parent d77c44e48b
commit c131e21198
23 changed files with 67 additions and 157 deletions

View File

@@ -462,7 +462,6 @@ void texture_config::finish_mapping() {
tinf3.texture_id = config.data.textureid;
if(isize(texture_map) && isize(texture_map.begin()->second.triangles)) {
auto& tris = texture_map.begin()->second.triangles;
using namespace hyperpoint_vec;
for(int a=0; a<8; a++) {
auto& tri = tris[a % isize(tris)];
@@ -645,7 +644,6 @@ ld magic_quality() {
applymodel(ggmatrix(p.c) * p.cell_relative, inmodel);
inmodel[0] *= current_display->radius * 1. / current_display->scrsize;
inmodel[1] *= current_display->radius * 1. / current_display->scrsize;
using namespace hyperpoint_vec;
q += sqhypot_d(2, inmodel - p.texture_coords);
}
return q;