cleanup tab spacing

felipesanches-svg
don bright 2013-03-03 20:23:03 -06:00
parent 689fdad0ac
commit 94d4acf765
12 changed files with 57 additions and 59 deletions

View File

@ -33,7 +33,7 @@ get_freebsd_deps()
get_netbsd_deps()
{
sudo pkgin install bison boost cmake git bash eigen flex gmake gmp mpfr \
qt4 glew cgal opencsg modular-xorg
qt4 glew cgal opencsg modular-xorg python27 py27-paramiko
}
get_opensuse_deps()

View File

@ -57,8 +57,7 @@ void GLView::setupGimbalCamOrtho(double distance, bool offset)
{
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
if(offset)
glTranslated(-0.8, -0.8, 0);
if (offset) glTranslated(-0.8, -0.8, 0);
double l = distance/10;
glOrtho(-w_h_ratio*l, +w_h_ratio*l,
-(1/w_h_ratio)*l, +(1/w_h_ratio)*l,

View File

@ -33,7 +33,6 @@ class GLView
public:
GLView();
void setRenderer(Renderer* r);
Renderer *renderer;
void initializeGL();
void resizeGL(int w, int h);
@ -56,6 +55,8 @@ public:
virtual bool save(const char *filename) = 0;
virtual std::string getRendererInfo() const = 0;
Renderer *renderer;
Camera cam;
size_t far_far_away;
size_t width;
size_t height;
@ -66,8 +67,6 @@ public:
bool showedges;
bool showcrosshairs;
Camera cam;
#ifdef ENABLE_OPENCSG
GLint shaderinfo[11];
bool is_opencsg_capable;