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

This commit is contained in:
2019-12-23 14:24:46 +00:00
parent 056eea2407
commit 7c1dd9bf0a
7 changed files with 68 additions and 26 deletions

View File

@@ -37,15 +37,15 @@ public:
void setAngles(const QVector3D & a) {setRotation(a);}
void setAngleZ(const float & a) {setRotationZ(a);}
void setAngleXY(const float & a) {setRotationX(a);}
void setAngleRoll(const float & a) {setRotationY(a);}
void setAngleRoll(const float & a) {roll_ = a;}
void setDepthStart(const float & d) {depth_start = d;}
void setMirrorX(bool yes) {mirror_x = yes;}
void setMirrorY(bool yes) {mirror_y = yes;}
float FOV() const {return fov_;}
float angleZ() const {return rotationZ();}
float angleXY() const {return rotationY();}
float angleRoll() const {return rotationZ();}
float angleXY() const {return rotationX();}
float angleRoll() const {return roll_;}
float depthStart() const {return depth_start;}
bool isMirrorX() const {return mirror_x;}
bool isMirrorY() const {return mirror_y;}
@@ -60,7 +60,7 @@ public:
private:
mutable QVector3D offset_;
GLfloat fov_;
GLfloat fov_, roll_;
GLfloat depth_start;
bool mirror_x;
bool mirror_y;