Graphics/AbstractViewer: Add ProjectDepth method

This commit is contained in:
Lynix
2018-05-29 23:55:51 +02:00
parent e46aa6772e
commit db0e3267da
3 changed files with 12 additions and 0 deletions

View File

@@ -41,6 +41,8 @@ namespace Nz
virtual float GetZNear() const = 0;
Nz::Vector3f Project(const Nz::Vector3f& worldPosition) const;
float ProjectDepth(float depth);
Nz::Vector3f Unproject(const Nz::Vector3f& screenPos) const;
AbstractViewer& operator=(const AbstractViewer&) = default;