mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-17 05:04:30 +00:00
fixed a bug in ship centering
This commit is contained in:
1 parent
818d943827
commit
d3b4b880fc
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user