proj home

Files   Classes   Functions   Hierarchy  

Public Member Functions | Public Attributes | List of all members
gobjglutSolidSphere Class Reference

#include <gobj.h>

Inheritance diagram for gobjglutSolidSphere:
Inheritance graph
Collaboration diagram for gobjglutSolidSphere:
Collaboration graph

Public Member Functions

 gobjglutSolidSphere (GLdouble radius_, GLint slices_, GLint stacks_)
void draw ()
 Draw the object.
- Public Member Functions inherited from gobj
virtual ~gobj ()

Public Attributes

GLdouble radius
GLint slices
GLint stacks

Additional Inherited Members

- Static Public Member Functions inherited from gobj
static void globaldisplaylist (uintc id)
 Convert the global graphics into a display list.
- Static Public Attributes inherited from gobj
static gobjContainerglobal = 0
 The graphics stream.

Detailed Description

Definition at line 856 of file gobj.h.

Constructor & Destructor Documentation

gobjglutSolidSphere::gobjglutSolidSphere ( GLdouble  radius_,
GLint  slices_,
GLint  stacks_ 

Definition at line 88 of file gobj.cpp.

: radius(radius_), slices(slices_), stacks(stacks_)

Member Function Documentation

void gobjglutSolidSphere::draw ( )

Draw the object.

Implements gobj.

Definition at line 97 of file gobj.cpp.

References GOBJDEBUGCODE, radius, slices, and stacks.


Member Data Documentation

GLdouble gobjglutSolidSphere::radius

Definition at line 860 of file gobj.h.

Referenced by draw().

GLint gobjglutSolidSphere::slices

Definition at line 861 of file gobj.h.

Referenced by draw().

GLint gobjglutSolidSphere::stacks

Definition at line 862 of file gobj.h.

Referenced by draw().

The documentation for this class was generated from the following files: