Pj3d
Pj3dCylinder

Create a simple cylinder primitive.

Usage:
Pj3dCylinder (Pj3d, float radius, float height)
Pj3dCylinder (Pj3d, float radius, float height, int xdivisions, int ydivisions)

Returns:
Nothing

Example:
Pj3dCylinder cylinder = new Pj3dCylinder(p, 30.0, 80.0);
cylinder.transform.translate(-50.0, 0.0, 0.0);
cylinder.shader.setEmissive(255, 100, 0);

Download: Pj3dCylinder.pde

Methods:
delete();
Delete the object.

transform
shader

<- back
a simple cylinder