MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / isRoot

Method isRoot

include/reactphysics3d/utils/Profiler.h:403–405  ·  view source on GitHub ↗

Return true if we are at the root of the profiler tree

Source from the content-addressed store, hash-verified

401
402// Return true if we are at the root of the profiler tree
403RP3D_FORCE_INLINE bool ProfileNodeIterator::isRoot() {
404 return (mCurrentParentNode->getParentNode() == nullptr);
405}
406
407// Return true if we are at the end of a branch of the profiler tree
408RP3D_FORCE_INLINE bool ProfileNodeIterator::isEnd() {

Callers 1

Calls 1

getParentNodeMethod · 0.80

Tested by

no test coverage detected