mirror of https://github.com/vitalif/openscad
cleanup tab spacing
parent
689fdad0ac
commit
94d4acf765
|
@ -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()
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue