mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
reverb:: animation with ideal vertices
This commit is contained in:
parent
93b425ac11
commit
d8a72e31ab
@ -280,7 +280,13 @@ auto hchook = addHook(hooks_drawcell, 100, draw_bird)
|
|||||||
hyperpoint wc = Hypc;
|
hyperpoint wc = Hypc;
|
||||||
for(int i=0; i<cgi.face; i++) wc += cgi.cellshape[i];
|
for(int i=0; i<cgi.face; i++) wc += cgi.cellshape[i];
|
||||||
hyperpoint h3 = normalize(wc);
|
hyperpoint h3 = normalize(wc);
|
||||||
|
if(cgflags & qIDEAL) {
|
||||||
|
println(hlog, "h1 was: ", h1);
|
||||||
|
h1 = rspintox(h1) * xpush0(hdist0(h2)*4);
|
||||||
|
println(hlog, "h1 is: ", h1);
|
||||||
|
}
|
||||||
hyperpoint h4 = mid(h3, C0);
|
hyperpoint h4 = mid(h3, C0);
|
||||||
|
println(hlog, "distances: ", make_tuple(hdist0(h1), hdist0(h2), hdist0(h3), hdist0(h4)));
|
||||||
vector<hyperpoint> all = {h1, h2, h3, h4, h1, h1};
|
vector<hyperpoint> all = {h1, h2, h3, h4, h1, h1};
|
||||||
ld id = parseld("0../0..1../0..|1../0..2../0..|2../0..3../0..|3../0..4../0");
|
ld id = parseld("0../0..1../0..|1../0..2../0..|2../0..3../0..|3../0..4../0");
|
||||||
// println(hlog, "d = ", id);
|
// println(hlog, "d = ", id);
|
||||||
|
Loading…
Reference in New Issue
Block a user