Ignore:
Timestamp:
Mar 7, 2012, 12:21:30 PM (13 years ago)
Author:
ldelgass
Message:

Const correctness fixes, pass vector/matrix objects by reference, various
formatting and style cleanups, don't spam syslog and uncomment openlog() call.
Still needs to be compiled with -DWANT_TRACE to get tracing, but now trace
output will be output to file in /tmp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/Sphere.h

    r2798 r2822  
    1818#define _SPHERE_H_
    1919
     20#include <GL/glew.h>
     21#include <GL/glu.h>
     22
    2023#include "Trace.h"
    21 #include <GL/glut.h>
    2224
    2325#include "Color.h"
    2426#include "Renderable.h"
    2527
    26 class Sphere : public Renderable{
    27 
     28class Sphere : public Renderable
     29{
    2830public:
    2931    float radius;
     
    3234    int slice;
    3335
    34     ~Sphere();
    3536    Sphere(float x, float y, float z, float r, float g, float b, float _radius,
    3637           int _stack, int _slice);
     38
     39    virtual ~Sphere();
     40
    3741    void set_vertical_res(int _stack);
    3842    void set_horizontal_res(int _slice);
Note: See TracChangeset for help on using the changeset viewer.