public override void DestroyProxies(AabbTree <MudBrushBase> tree) { tree.DestroyProxy(m_iProxyBegin); tree.DestroyProxy(m_iProxyEnd); m_iProxyBegin = AabbTree <MudBrushBase> .Null; m_iProxyEnd = AabbTree <MudBrushBase> .Null; }
public virtual void UpdateProxies(AabbTree <MudBrushBase> tree, Aabb opBounds) { if (m_iProxy == AabbTree <MudBrushBase> .Null) { m_iProxy = tree.CreateProxy(opBounds, this); } tree.UpdateProxy(m_iProxy, opBounds, m_iSdfBrush); }
public override void UpdateProxies(AabbTree <MudBrushBase> tree, Aabb opBounds) { if (m_iProxyBegin == AabbTree <MudBrushBase> .Null) { m_iProxyBegin = tree.CreateProxy(opBounds, this); } if (m_iProxyEnd == AabbTree <MudBrushBase> .Null) { m_iProxyEnd = tree.CreateProxy(opBounds, this); } tree.UpdateProxy(m_iProxyBegin, opBounds, m_iBegin); tree.UpdateProxy(m_iProxyEnd, opBounds, m_iEnd); }
public virtual void DestroyProxies(AabbTree <MudBrushBase> tree) { tree.DestroyProxy(m_iProxy); m_iProxy = AabbTree <MudBrushBase> .Null; }