Beispiel #1
0
        public static BSPTree Get(DatLoader.Entity.BSPTree _bspTree, Dictionary <ushort, DatLoader.Entity.Polygon> polys, DatLoader.Entity.CVertexArray vertexArray)
        {
            var bspTree = new BSPTree(_bspTree, polys, vertexArray);

            if (!Enabled)
            {
                return(bspTree);
            }

            return(Get(bspTree));
        }
Beispiel #2
0
 public BSPTree(DatLoader.Entity.BSPTree bsp, Dictionary <ushort, DatLoader.Entity.Polygon> polys, DatLoader.Entity.CVertexArray vertexArray)
 {
     RootNode = new BSPNode(bsp.RootNode, polys, vertexArray);
 }
Beispiel #3
0
 public static BSP.BSPTree CreateMutable(DatLoader.Entity.BSPTree _bspTree)
 {
     return(null);
 }
Beispiel #4
0
 public static BSPTree Get(DatLoader.Entity.BSPTree bspTree, Dictionary <ushort, DatLoader.Entity.Polygon> polys, DatLoader.Entity.CVertexArray vertexArray)
 {
     return(Get(new BSPTree(bspTree, polys, vertexArray)));
 }