mirror of https://github.com/OpenMW/openmw.git
avoids virtual function calls in ComputeLightSpaceBounds (#3167)
osg::NodeVisitor is designed to recursively call virtual apply signatures until we find an implemented signature. Encountered nodes that we do not explicitely handle will trigger additional virtual function calls. With this PR we avoid these additional virtual function calls in the particularly costly ComputeLightSpaceBounds by adding some explicit signatures.pull/3169/head
parent
ef906cbfa8
commit
93848ef01c
Loading…
Reference in New Issue