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; }
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); }