git-svn-id: svn://db.shs.com.ru/libs@45 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2015-11-23 17:07:25 +00:00
parent 104a7f99ad
commit 48addec20f
32 changed files with 738 additions and 541 deletions

View File

@@ -109,9 +109,9 @@ public:
QColor backColor() const {return backColor_;}
double lineWidth() const {return lineWidth_;}
double FOV() const {return camera_.fov_;}
double depthStart() const {return camera_.depth_start;}
double depthEnd() const {return camera_.depth_end;}
double FOV() const {return camera().fov_;}
double depthStart() const {return camera().depth_start;}
double depthEnd() const {return camera().depth_end;}
double currentFPS() const {return fps_;}
bool linearFiltering() const {return linearFiltering_;}
int anisotropicLevel() const {return anisotropicLevel_;}
@@ -264,9 +264,9 @@ private:
public slots:
void setBackColor(const QColor & arg) {backColor_ = arg;}
void setLineWidth(const double & arg) {lineWidth_ = arg;}
void setFOV(const double & arg) {camera_.fov_ = arg;}
void setDepthStart(const double & arg) {camera_.depth_start = arg;}
void setDepthEnd(const double & arg) {camera_.depth_end = arg;}
void setFOV(const double & arg) {camera().fov_ = arg;}
void setDepthStart(const double & arg) {camera().depth_start = arg;}
void setDepthEnd(const double & arg) {camera().depth_end = arg;}
void setLinearFiltering(const bool & arg) {linearFiltering_ = arg;}
void setAnisotropicLevel(const int & arg) {anisotropicLevel_ = arg;}
void setAmbientColor(const QColor & arg) {ambientColor_ = arg;}