mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-14 20:34:06 +00:00
fixed a bug in ship centering
This commit is contained in:
parent
818d943827
commit
d3b4b880fc
@ -23,7 +23,7 @@ void make_shape() {
|
|||||||
int N = isize(shape_ship);
|
int N = isize(shape_ship);
|
||||||
|
|
||||||
vector<hyperpoint> lst;
|
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);
|
for(auto h: lst) cgi.hpcpush(h);
|
||||||
cgi.hpcpush(lst[0]);
|
cgi.hpcpush(lst[0]);
|
||||||
cgi.finishshape();
|
cgi.finishshape();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user