proj home

Files   Classes   Functions   Hierarchy  

gobjglutSolidSphere Class Reference

#include <gobj.h>

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

List of all members.

Public Member Functions

 gobjglutSolidSphere (GLdouble radius_, GLint slices_, GLint stacks_)
void draw ()
 Draw the object.

Public Attributes

GLdouble radius
GLint slices
GLint stacks

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.

00093   : radius(radius_), slices(slices_), stacks(stacks_)
00094 {
00095 }

Member Function Documentation

void gobjglutSolidSphere::draw (  )  [virtual]

Draw the object.

Implements gobj.

Definition at line 97 of file gobj.cpp.

References GOBJDEBUGCODE, radius, slices, and stacks.

00098 {
00100   glutSolidSphere(radius,slices,stacks);
00101 }

Member Data Documentation

Definition at line 860 of file gobj.h.

Referenced by draw().

Definition at line 861 of file gobj.h.

Referenced by draw().

Definition at line 862 of file gobj.h.

Referenced by draw().

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

Generated on 27 Nov 2012 for Chelton Evans Source by  doxygen 1.6.1