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

compilation in C++11

This commit is contained in:
Zeno Rogue
2019-08-19 14:58:39 +02:00
parent 599783d4ab
commit fe266d3485
2 changed files with 6 additions and 5 deletions

View File

@@ -919,7 +919,8 @@ void draw_s2xe(dqi_poly *p, dqi_poly *npoly) {
vector<point_data> pd;
for(int i=0; i<p->cnt; i++) {
hyperpoint h = p->V * glhr::gltopoint( (*p->tab)[p->offset+i]);
auto& next = pd.emplace_back();
pd.emplace_back();
auto& next = pd.back();
auto dp = product_decompose(h);
next.direction = dp.second;
next.z = dp.first;