add and use VolumeTest/View.getViewDir()

This commit is contained in:
Garux
2018-05-18 01:55:20 +03:00
parent 4745e0b23b
commit 6f8a0668a3
6 changed files with 21 additions and 20 deletions

View File

@@ -60,6 +60,7 @@ virtual const Matrix4& GetModelview() const = 0;
virtual const Matrix4& GetViewMatrix() const = 0; //viewproj
virtual const Vector3& getViewer() const = 0;
virtual const Vector3& getViewDir() const = 0;
};
class Cullable