Pj3dBox
Create a simple box primitive.
Usage:
Pj3dBox (Pj3d, float size)
Pj3dBox (Pj3d, float size_x, float size_y, float size_z)
Returns:
Nothing
Example:
Pj3dBox box = new Pj3dBox(p, 20);
box.transform.translate(-50.0, 0.0, 0.0);
box.shader.setEmissive(255, 100, 0);
Download:
Pj3dBox.pde
Methods:
<- back