]> git.tdb.fi Git - libs/gl.git/blobdiff - source/camera.cpp
Remove the deprecated ProgramBuilder class
[libs/gl.git] / source / camera.cpp
index b3cedbc62ad628813b5eee552302a2151ea586c1..3bba0eaf38e00385e68a077474095a980a10f340 100644 (file)
@@ -116,12 +116,6 @@ Vector3 Camera::unproject(const Vector3 &p) const
        return unproject(Vector4(p.x, p.y, p.z, 1.0f)).slice<3>(0);
 }
 
-void Camera::apply() const
-{
-       MatrixStack::projection() = proj_matrix;
-       MatrixStack::modelview() = view_matrix;
-}
-
 void Camera::update_projection_matrix()
 {
        float frustum_h = (fov!=Geometry::Angle<float>::zero() ? tan(fov/2.0f)*clip_near : height/2);