示例#1
0
        public GraphGrid ScaleAdjusted(double scale, Camera cam = null)
        {
            //TODO: switch to this when camera is hooked up
            //GraphGrid scaledGrid = new GraphGrid(DrawGrid.Draw(cam.GetMatrix, 1000, 1000, scale));

            GraphGrid scaledGrid = null; //new GraphGrid(DrawGrid.Draw(new double[][] { new double[]{ 0, 0, 0}, new double[] { 0, 0, 0} }, 5000 / scale, 5000 / scale, scale));

            return(scaledGrid);
        }
示例#2
0
        public static GraphGrid RenderGrid(CurveGraphModel model, Camera cam = null)
        {
            GraphGrid grid = Draw(model, cam);

            return(grid);
        }