mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-24 16:07:07 +00:00
rogueviz:: adjusted flocking to interface changes
This commit is contained in:
parent
b11e270eb5
commit
80c0b4bb0c
@ -274,7 +274,7 @@ namespace flocking {
|
||||
h += h1;
|
||||
}
|
||||
if(cnt) {
|
||||
h = normalize_flat(h);
|
||||
h = cgi.emb->normalize_flat(h);
|
||||
if(mproduct) h = orthogonal_move(h, lev / cnt);
|
||||
View = inverse(actual_view_transform) * gpushxto0(h) * actual_view_transform * View;
|
||||
shift_view(ztangent(follow_dist));
|
||||
|
Loading…
Reference in New Issue
Block a user