| 756 | } |
| 757 | |
| 758 | void Viewport::setCameraTranslation( const Vector3f& translation ) |
| 759 | { |
| 760 | if ( params_.cameraTranslation == translation ) |
| 761 | return; |
| 762 | params_.cameraTranslation = translation; |
| 763 | |
| 764 | needRedraw_ = true; |
| 765 | } |
| 766 | |
| 767 | void Viewport::setCameraViewAngle( float newViewAngle ) |
| 768 | { |