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