fix all six planes for rendering and drawing

This commit is contained in:
2017-04-28 00:06:24 +01:00
parent a6a020a389
commit 5753002ca9
3 changed files with 79 additions and 30 deletions

View File

@@ -66,11 +66,14 @@ public:
std::vector<Layer> m_layers;
std::vector<int> m_order;
glm::vec4 m_dirty_box[6];
bool m_dirty_face[6];
RTT m_tmp[6];
Texture2D m_tex[6];
Texture2D m_tex2[6];
glm::vec3 m_plane_origin[6];
glm::vec3 m_plane_normal[6];
static glm::vec3 m_plane_origin[6];
static glm::vec3 m_plane_normal[6];
static glm::vec3 m_plane_tangent[6];
static glm::mat4 m_plane_transform[6];
Sampler m_sampler;
Sampler m_sampler_bg;
glm::vec2 m_cam_rot;