Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'drape/utils/projection.hpp')
-rw-r--r--drape/utils/projection.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/drape/utils/projection.hpp b/drape/utils/projection.hpp
new file mode 100644
index 0000000000..cee2b20c96
--- /dev/null
+++ b/drape/utils/projection.hpp
@@ -0,0 +1,11 @@
+#pragma once
+
+#include "../../std/array.hpp"
+
+namespace dp
+{
+ static float const minDepth = -20000.0f;
+ static float const maxDepth = 20000.0f;
+
+ void MakeProjection(array<float, 16> & result, float left, float right, float bottom, float top);
+} // namespace dp