From 80c0b4bb0ca4cdd5e373d8adbe61d43a9de6ba8c Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 29 Jan 2023 17:03:53 +0100 Subject: [PATCH] rogueviz:: adjusted flocking to interface changes --- rogueviz/flocking.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rogueviz/flocking.cpp b/rogueviz/flocking.cpp index 9f033aef..2cf0ac39 100644 --- a/rogueviz/flocking.cpp +++ b/rogueviz/flocking.cpp @@ -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));