![](http://www.gnu-darwin.org/hexley-gd-sm.png)
|
# File ../lib/fox/glshapes.rb, line 461
def drawshape(viewer)
quad = GLU::NewQuadric()
GLU::QuadricDrawStyle(quad, GLU::FILL)
GL::PushMatrix()
GL::Rotate(-90, 1, 0, 0)
GLU::Cylinder(quad, @radius, 0, @height, @slices, @stacks)
GLU::QuadricOrientation(quad, GLU::INSIDE)
GLU::Disk(quad, 0, @radius, @slices, @loops)
GLU::DeleteQuadric(quad)
GL::PopMatrix()
end
|