1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 06:33:19 +00:00

fixed a bug in ship centering

This commit is contained in:
Zeno Rogue 2022-09-12 15:00:00 +02:00
parent 818d943827
commit d3b4b880fc

View File

@ -23,7 +23,7 @@ void make_shape() {
int N = isize(shape_ship);
vector<hyperpoint> lst;
for(int i=0; i<N; i += 2) lst.push_back(normalize(hpxyz(shape_ship[i] - .03, shape_ship[i+1], 1)));
for(int i=0; i<N; i += 2) lst.push_back(normalize(hpxyz(shape_ship[i], shape_ship[i+1], 1)));
for(auto h: lst) cgi.hpcpush(h);
cgi.hpcpush(lst[0]);
cgi.finishshape();