mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Skip animating figures outside of the frustum
This commit is contained in:
parent
c07d7a212b
commit
bf92d0287b
@ -993,6 +993,10 @@ impl FigureMgr {
|
||||
(true, 0)
|
||||
};
|
||||
|
||||
if !in_frustum {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Change in health as color!
|
||||
let col = health
|
||||
.map(|h| {
|
||||
|
Loading…
Reference in New Issue
Block a user