Graphics/AbstractViewer: Add Project & Unproject methods
This commit is contained in:
@@ -29,6 +29,10 @@ namespace Nz
|
||||
virtual ViewerInstance& GetViewerInstance() = 0;
|
||||
virtual const ViewerInstance& GetViewerInstance() const = 0;
|
||||
virtual const Recti& GetViewport() const = 0;
|
||||
|
||||
Vector3f Project(const Vector3f& worldPos);
|
||||
|
||||
Vector3f Unproject(const Vector3f& screenPos);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user