]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/vulkan/camera_backend.cpp
Refactor projection matrix handling
[libs/gl.git] / source / backends / vulkan / camera_backend.cpp
diff --git a/source/backends/vulkan/camera_backend.cpp b/source/backends/vulkan/camera_backend.cpp
deleted file mode 100644 (file)
index 10e294f..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#include "camera_backend.h"
-#include "matrix.h"
-
-namespace Msp {
-namespace GL {
-
-void VulkanCamera::adjust_projection_matrix(Matrix &proj_matrix)
-{
-       Matrix adjust;
-       adjust(2, 2) = 0.5f;
-       adjust(2, 3) = 0.5f;
-       proj_matrix = adjust*proj_matrix;
-}
-
-} // namespace GL
-} // namespace Msp