Pj3d
Pj3dCone

Create a simple cone primitive.

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

Returns:
Nothing

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

Download: Pj3dCone.pde

Methods:
delete();
Delete the object.

transform
shader

<- back
a simple cone