//public enum DrawModeEnum
 //{
 //    GL_POINT	= 0x1B00,
 //    GL_LINE     = 0x1B01,
 //    GL_FILL     = 0x1B02
 //} ;
 public OutViewSettings(float xMax, float xMin, float yMax, float yMin, float zMax, 
     float zMin, bool showAxises, bool autoZ,
     DrawModeEnum mode, bool blended, Color color, float lineWidth)
 {
     XMax = xMax;
     XMin = xMin;
     YMax = yMax;
     YMin = yMin;
     ZMax = zMax;
     ZMin = zMin;
     ShowAxises = showAxises;
     AutoZ = autoZ;
     Mode = mode;
     Blended = blended;
     PaintColor = color;
     LineWidth = lineWidth;
 }
 private void FireMode(DrawModeEnum val)
 {
     if (ModeHandler != null)
         ModeHandler(val);
 }
Пример #3
0
 public void CreateGameLevel()
 {
     DrawMode = DrawModeEnum.GameLevel;
     Seed     = GameController.Instance.Seed;
     GenerateLevel();
 }