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