Frustum.h 289 B

1234567891011121314151617
  1. #ifndef FRUSTUM_H
  2. #define FRUSTUM_H
  3. #include "client/math/Matrix.h"
  4. class Frustum final {
  5. public:
  6. Frustum(float fovY, float nearClip, float farClip);
  7. void setProjection(Matrix& m, int width, int height);
  8. private:
  9. float fovY;
  10. float nearClip;
  11. float farClip;
  12. };
  13. #endif