Red3DBox:
Filter:
Description
Class methods
new
Examples
redUniverse/Classes (extension)
|
Red
>
redUniverse
>
3D
Red3DBox
Extension
3D box / cube
Description
A class for rotating and rendering a box in 3D.
Class Methods
.
new
Creates a new box.
Examples
a= Red3DBox(); a.points; a.update; a.render(2, 100); a.renderedPoints; ( UserView().front.animate_(true).drawFunc_{|u| Pen.translate(75, 75); a.rotation_(RedVector3D[0, u.frame*0.01, u.frame*0.05]); a.update; a.render; a.draw; a.drawOutlines; }; )
helpfile source:
HelpSource/Classes/Red3DBox.schelp
link::redUniverse/Classes/Red3DBox::