Tao.FreeGlut SDK Documentation |
|
Glut.glutWireSierpinskiSponge Method
Draw a wireframe Spierspinski's sponge
[Visual Basic]
Public Shared Sub glutWireSierpinskiSponge( _
ByVal
levels As
Integer, _
ByVal
offset As
Double(), _
ByVal
scale As
Double _
)
Parameters
-
levels
- Recursive depth.
-
offset
- Location vector.
-
scale
- Relative size.
Remarks
This function recursively draws a few levels of Sierpinski's Sponge in wireframe. If levels is 0, draws 1 tetrahedron. The offset is a translation. The z axis is normal to the base. The sponge is centered at the origin.
See Also
Glut Class | Tao.FreeGlut Namespace