예제 #1
0
//	private static bool getAlreadyDone(bool[,] colDoneCheckList, PTwo co)
//	{
//		AssertUtil.Assert(! (co.area() >= colDoneCheckList.GetLength(0) * colDoneCheckList.GetLength(1)), "problems with col done checklist out of bounds:" +
//		    "" + co.toString() + " check list length: " + colDoneCheckList.Length);
//
//		return colDoneCheckList[co.s, co.t];
//	}
//
//	private static void setTrueAlreadyDone(ref bool[,] colDoneCheckList, PTwo co)
//	{
//		AssertUtil.Assert(! (co.area() >= colDoneCheckList.GetLength(0) * colDoneCheckList.GetLength(1)), "problems with col done checklist out of bounds:" +
//		    "" + co.toString() + " check list length: " + colDoneCheckList.Length);
//
//		colDoneCheckList[co.s, co.t] = true;
//	}

    #region debug

    void addColumnIfNoiseCoordOO(LightColumn lcol)
    {
        if (NoiseCoord.Equal(this.m_noisePatch.coord, new NoiseCoord(0, 0)))
        {
            ChunkManager.debugLinesAssistant.addColumn(lcol.toColumnDebug(), this.debugTimeDrewDebugColm++, m_noisePatch.coord);
        }
    }
예제 #2
0
 private void addDebugColumnIfNoiseCoZIsNeg(LightColumn col, int handyI)
 {
     if (this.m_noisePatch.coord.z < 0)
     {
         int handyInt = handyI;
         ChunkManager.debugLinesAssistant.addColumn(col.toColumnDebug(), handyInt, this.m_noisePatch.coord);
     }
 }