#include <Sphere.h>
Inheritance diagram for Teddy::Models::Sphere:


Public Methods | |
| Sphere (const std::string &name, const double radius, const int stacks, const int slices) | |
| Sphere constructor. More... | |
Protected Attributes | |
| double | radius | 
| int | stacks | 
| int | slices | 
This is a Sphere Model done with stacks and slices -method (like glut).
Definition at line 41 of file Sphere.h.
      
  | 
  ||||||||||||||||||||
| 
 Sphere constructor. 
 
 Definition at line 41 of file Sphere.cpp. References Teddy::Models::Model::add, M_2_PI, M_PI, radius, Teddy::Models::Model::setupClipRadius, slices, stacks, and Vector.  | 
  
      
  | 
  
| 
 
 Definition at line 51 of file Sphere.h. Referenced by Sphere.  | 
  
      
  | 
  
| 
 
 Definition at line 53 of file Sphere.h. Referenced by Sphere.  | 
  
      
  | 
  
| 
 
 Definition at line 52 of file Sphere.h. Referenced by Sphere.  |