Example #1
0
 public static GridPlane CreatePlaneZY(GraphicsDevice graphicsDevice,
     int zSize, int ySize, float cellSize, Color color, Matrix transform)
 {
     var instance = new GridPlane(graphicsDevice);
     instance.InitializePlaneZY(zSize, ySize, cellSize, ref color, ref transform);
     return instance;
 }
Example #2
0
        public static GridPlane CreatePlaneZY(GraphicsDevice graphicsDevice,
                                              int zSize, int ySize, float cellSize, Color color, Matrix transform)
        {
            var instance = new GridPlane(graphicsDevice);

            instance.InitializePlaneZY(zSize, ySize, cellSize, ref color, ref transform);
            return(instance);
        }