完成mvp 矩阵,和shader
This commit is contained in:
@@ -84,8 +84,8 @@ public:
|
||||
std::unique_ptr<vkb::core::BufferC> uniform_buffer_vs_point;
|
||||
|
||||
|
||||
glm::vec3 camear_pos_point = {0, 0, -2.f};
|
||||
glm::vec3 face_pos_point;
|
||||
//glm::vec3 camear_pos_point = {0, 0, -2.f};
|
||||
//glm::vec3 face_pos_point;
|
||||
|
||||
struct
|
||||
{
|
||||
@@ -139,7 +139,7 @@ public:
|
||||
void update_uniform_buffers();
|
||||
|
||||
void prepare_uniform_buffers_point();
|
||||
void update_uniform_buffers_point();
|
||||
void update_uniform_buffers_point(float fov, float x, float y, float z, float sx, float sy, float sz, float rotx, float roty, float rotz, float camx, float camy, float camz);
|
||||
|
||||
|
||||
void prepare_pipelines();
|
||||
@@ -172,6 +172,7 @@ public:
|
||||
//void start();
|
||||
std::mutex mtx;
|
||||
std::mutex mtx_point;
|
||||
std::mutex mtx_mvp;
|
||||
//void stop();
|
||||
//void updateTexture();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user