public override int DrawBatch( int maxBlocksToDraw )
{
//ignoring maxBlocksToDraw
switch ( _vaxis ) {
case ValueAxis.Z:
InternalDraw( ref Coords.X, ref Coords.Y, ref Coords.Z,
Bounds.XMin, Bounds.XMax, Bounds.YMin, Bounds.YMax, Bounds.ZMin, Bounds.ZMax,
maxBlocksToDraw );
break;
case ValueAxis.Y:
InternalDraw( ref Coords.X, ref Coords.Z, ref Coords.Y,
Bounds.XMin, Bounds.XMax, Bounds.ZMin, Bounds.ZMax, Bounds.YMin, Bounds.YMax,
maxBlocksToDraw );
break;
case ValueAxis.X:
InternalDraw( ref Coords.Y, ref Coords.Z, ref Coords.X,
Bounds.YMin, Bounds.YMax, Bounds.ZMin, Bounds.ZMax, Bounds.XMin, Bounds.XMax,
maxBlocksToDraw );
break;
default:
throw new ArgumentException( "Unknown value axis direction " + _vaxis +
". This software is not released for use in spaces with dimension higher than three." );
}
IsDone = true;
return Count;
}