diff --git a/src/Magnum/SceneGraph/Camera.h b/src/Magnum/SceneGraph/Camera.h index 7cb4240e5..58523d1c6 100644 --- a/src/Magnum/SceneGraph/Camera.h +++ b/src/Magnum/SceneGraph/Camera.h @@ -157,43 +157,6 @@ template class Camera: public AbstractFeature& setProjectionMatrix(const MatrixTypeFor& matrix); - #ifdef MAGNUM_BUILD_DEPRECATED - /** - * @brief Set projection - * @deprecated Use @ref setProjectionMatrix() with @ref Matrix3::projection() instead. - */ - template::type> CORRADE_DEPRECATED("use setProjectionMatrix() with Matrix3::projection() instead") BasicCamera2D& setProjection(const Math::Vector2& size) { - return setProjectionMatrix(Math::Matrix3::projection(size)); - } - - /** - * @brief Set orthographic projection - * @deprecated Use @ref setProjectionMatrix() with - * @ref Matrix4::orthographicProjection() instead. - */ - template::type> CORRADE_DEPRECATED("use setProjectionMatrix() with Matrix4::orthographicProjection() instead") BasicCamera3D& setOrthographic(const Math::Vector2& size, T near, T far) { - return setProjectionMatrix(Math::Matrix4::orthographicProjection(size, near, far)); - } - - /** - * @brief Set perspective projection - * @deprecated Use @ref setProjectionMatrix() with - * @ref Matrix4::perspectiveProjection() instead. - */ - template::type> CORRADE_DEPRECATED("use setProjectionMatrix() with Matrix4::perspectiveProjection() instead") BasicCamera3D& setPerspective(const Math::Vector2& size, T near, T far) { - return setProjectionMatrix(Math::Matrix4::perspectiveProjection(size, near, far)); - } - - /** - * @brief Set perspective projection - * @deprecated Use @ref setProjectionMatrix() with - * @ref Matrix4::perspectiveProjection() instead. - */ - template::type> CORRADE_DEPRECATED("use setProjectionMatrix() with Matrix4::perspectiveProjection() instead") BasicCamera3D& setPerspective(Math::Rad fov, T aspectRatio, T near, T far) { - return setProjectionMatrix(Math::Matrix4::perspectiveProjection(fov, aspectRatio, near, far)); - } - #endif - /** * @brief Size of (near) XY plane in current projection *