Example #1
0
        void RecalcUpExtent(ref AABB bb, int steps, int dx, int dz)
        {
            AABB upExtent = bb.Adjust(dx * steps, 32, dz * steps);

            upsCount = AABB.FindIntersectingSolids(upExtent, level, ref ups);
        }
Example #2
0
        void RecalcDownExtent(ref AABB bb, int steps, int dx, int dz)
        {
            AABB downExtent = bb.Adjust(dx * steps, -32, dz * steps);

            downsCount = AABB.FindIntersectingSolids(downExtent, level, ref downs);
        }