bool PhysicsConstraintsComponent::removePhysicsConstraintInternal( PhysicsConstraintsComponentPtr p_physicalConstraintComponent) { assert(p_physicalConstraintComponent && "physicalConstraintComponent must not be null"); componentRemoved(p_physicalConstraintComponent); p_physicalConstraintComponent->componentRemoved(shared_from_this()); return true; }
void KRenderSys::nodeRemoved(KNode *Node) { if (Node->hasComponent(Component::CAMERA)) { componentRemoved(Node->getComponent(Component::CAMERA)); } }