23 public void DrawGraph(Graphs3D.Canvas3D Canvas, Vector4[,] Points, Vector4[,] Normals,
24 object[] Parameters, Vector4[,] PrevPoints, Vector4[,] PrevNormals,
27 int i, c = Points.GetLength(0);
28 int j, d = Points.GetLength(1);
31 Vector4[] Nodes =
new Vector4[4];
36 for (i = 0; i < c; i++)
38 for (j = 0; j < d; j++)
40 Nodes[0] = Points[i, j];
41 Nodes[1] = Points[i + 1, j];
42 Nodes[2] = Points[i + 1, j + 1];
43 Nodes[3] = Points[i, j + 1];
45 Canvas.Polygon(Nodes, Shader, TwoSided);
Class managing a script expression.
static double ToDouble(object Object)
Converts an object to a double value.
Contains information about the current drawing area.
Plots a three-dimensional surface mesh.
void DrawGraph(Graphs3D.Canvas3D Canvas, Vector4[,] Points, Vector4[,] Normals, object[] Parameters, Vector4[,] PrevPoints, Vector4[,] PrevNormals, object[] PrevParameters, DrawingVolume DrawingVolume)
Draws the graph on a canvas.
Handles three-dimensional graphs.
static I3DShader ToShader(object Argument)
Gets a shader object from an argument.
Painters for single-color graphs
Interface for 3D shaders.
Interface for 3D graph drawing functions.