Tao.FreeGlut SDK Documentation |
|
Glut.glutSolidSierpinskiSponge Method
Draw a solid Spierspinski's sponge.
[Visual Basic]
Public Shared Sub glutSolidSierpinskiSponge( _
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 a solid-shaded Sierpinski's Sponge. 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