<Axis Rods|User's Guide|Capsule>

Rounded Box

See Rounded Box

A rounded box is obviously very similar to a box but the constructor takes one additional Vector3f parameter: slope.

FIXME I am not sure what values the slope should be. The edges are super pointy and do not look rounded at all.

Example - Generate a Rounded Box with Minimum and Maximum Points and Slope

Vector3f min = new Vector3f(-5, -5, -5);
Vector3f max = new Vector3f(5, 5, 5);
Vector3f slope = new Vector3f(-0.1F, -0.1F, -0.1F);
RoundedBox rb = new RoundedBox("rounded box", min, max, slope);
rootNode.attachChild(rb);

<Axis Rods|User's Guide|Capsule>


/var/www/wiki/data/pages/rounded_box.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