<Octahedron|User's Guide|Quad>

Pyramid

See Javadoc

A Pyramid is a four sided object with a square base and triangle sides. All four sides are equal.

In jME to create a Pyramid simply supply the width and the height of the pyramid. The width is the width at the base, and height is from the base to the peak.

Example 1 - Create a Pyramid and Place it into the Scene

Pyramid p = new Pyramid("Pyramid", 10, 10);
rootNode.attachChild(p);

<Octahedron|User's Guide|Quad>


/var/www/wiki/data/pages/pyramid.txt · Last modified: 2009/07/28 18:44 (external edit)  
Recent changes · Show pagesource · Login

Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki

subscribe to jME latest jme headlines


site design by bleedcrimson designs © 2008