Pj3dLine
Create a simple line or a line array.
Usage:
Pj3dLine (Pj3d, float[] points)
Returns:
Nothing
Example:
float[] points = {0,0,0, 20,0,10};
Pj3dLine line = new Pj3dLine(p, points);
float[] newPoint = {20,20,10};
line.addPoint(newPoint);
line.transform.translate(-50.0, 0.0, 0.0);
Download:
Pj3dLine.pde
Methods:
addPoint(float[x, y, z])
→ add a new point to the line
delete()
→ delete the object
transform
shader
<- back