idTech4.Collision.idCollisionModelManager.GetNodeBounds C# (CSharp) Method

GetNodeBounds() private method

private GetNodeBounds ( CollisionModelNode node ) : idBounds
node CollisionModelNode
return idBounds
		private idBounds GetNodeBounds(CollisionModelNode node)
		{
			idBounds bounds = idBounds.Zero;
			bounds.Clear();

			GetNodeBounds_R(ref bounds, node);

			if(bounds.IsCleared == true)
			{
				bounds = idBounds.Zero;
			}

			return bounds;
		}