MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / AnimateGeometry

Method AnimateGeometry

engine/Poseidon/World/Scene/Object.cpp:541–553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

539}
540
541void Object::AnimateGeometry()
542{
543 int level = _shape->FindGeometryLevel();
544 if (level >= 0)
545 {
546 bool change = IsAnimated(level);
547 Animate(level);
548 if (change)
549 {
550 _shape->InvalidateGeomComponents();
551 }
552 }
553}
554
555void Object::DeanimateGeometry()
556{

Callers 1

IntersectMethod · 0.80

Calls 4

AnimateFunction · 0.85
FindGeometryLevelMethod · 0.80
IsAnimatedFunction · 0.50

Tested by

no test coverage detected