1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-10 06:16:00 +00:00

rug:: using HyperRogue general renderer

This commit is contained in:
Zeno Rogue
2020-04-14 17:46:40 +02:00
parent 9bf1a76a8b
commit f903d3c8ea
4 changed files with 85 additions and 346 deletions

View File

@@ -605,8 +605,6 @@ EX void run_shape(eShape s) {
coverage.clear();
need_mouseh = true;
sh = s;
transmatrix crot = rug::rugged ? rug::currentrot : Id;
rug::apply_rotation(inverse(crot));
if(rug::rugged) rug::close();
@@ -663,10 +661,6 @@ EX void run_shape(eShape s) {
for(auto p: rug::points) if(p->valid)
p->native[2] += shift;
}
rug::apply_rotation(crot);
if(rug::rug_perspective)
rug::push_all_points(2, -rug::model_distance);
}
void cancel_shape() {