Exemplo n.º 1
0
 private void CombineTree(float angleErr)
 {
     if (mNode is SamplerNode)
     {
         SamplerNode node = (SamplerNode)mNode;
         node.CombineNode(angleErr);
         if (node.isFullLeaf)
         {
             SamplerLeaf leaf = node.Combine(angleErr);
             if (leaf != null)
             {
                 mNode = leaf;
             }
         }
     }
 }
Exemplo n.º 2
0
 public SamplerTree(int sub, Vector3 center, Vector2 size, Vector2 uv, Vector2 uvstep)
 {
     mNode = new SamplerNode(sub, center, size, uv, uvstep);
 }