Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
stereoblitprogram.h
1 #pragma once
2 
3 #include <vector>
4 
5 #include "programs/blitprogram.h"
6 
7 
9 public:
11 
12  void setDistortionKs(std::vector<float> distortionKs);
13  void setDistortionScale(float distortionScale);
14  void setLensCenter(glm::vec2 lensCenter);
15 
16  virtual void blit() override;
17 
18 
19 protected:
20  std::vector<float> m_distortionKs;
21  float m_distortionScale;
22  glm::vec2 m_lensCenter;
23 
24 
25  virtual void initializeShaders() override;
26 };
27 
Definition: blitprogram.h:15
Definition: stereoblitprogram.h:8