diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Camera.h | 2 | ||||
| -rw-r--r-- | src/GLView.h | 2 | ||||
| -rw-r--r-- | src/rendersettings.h | 4 | 
3 files changed, 4 insertions, 4 deletions
| diff --git a/src/Camera.h b/src/Camera.h index d79fc8f..dfc71f8 100644 --- a/src/Camera.h +++ b/src/Camera.h @@ -28,6 +28,7 @@ public:  	enum ProjectionType { ORTHOGONAL, PERSPECTIVE } projection;  	Camera() {  		type = Camera::NONE; +		projection = Camera::PERSPECTIVE;  	}  	Camera( enum CameraType e )  	{ @@ -59,7 +60,6 @@ public:  		} else {  			assert( "Gimbal cam needs 7 numbers, Vector camera needs 6" );  		} -		projection = Camera::PERSPECTIVE;  	}  	// Vectorcam diff --git a/src/GLView.h b/src/GLView.h index 0b4de7b..165c634 100644 --- a/src/GLView.h +++ b/src/GLView.h @@ -57,7 +57,7 @@ public:  	Renderer *renderer;  	Camera cam; -	size_t far_far_away; +	double far_far_away;  	size_t width;  	size_t height;  	double w_h_ratio; diff --git a/src/rendersettings.h b/src/rendersettings.h index 3d51495..e4fa6c8 100644 --- a/src/rendersettings.h +++ b/src/rendersettings.h @@ -25,8 +25,8 @@ public:  	void setColors(const std::map<RenderColor, Color4f> &colors);  	Color4f color(RenderColor idx); -	unsigned int openCSGTermLimit, img_width, img_height, far_gl_clip_limit; - +	unsigned int openCSGTermLimit, img_width, img_height; +	double far_gl_clip_limit;  private:  	RenderSettings();  	~RenderSettings() {} | 
