mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 18:48:36 +02:00
+ | Texture working
This commit is contained in:
@ -40,10 +40,9 @@ struct GPUTriangle
|
||||
alignas(16) glm::vec3 vertex2;
|
||||
alignas(16) glm::vec3 normal;
|
||||
|
||||
glm::vec2 texture_vertex1;
|
||||
glm::vec2 texture_vertex2;
|
||||
glm::vec2 texture_vertex3;
|
||||
|
||||
alignas(8) glm::vec2 texture_vertex1;
|
||||
alignas(8) glm::vec2 texture_vertex2;
|
||||
alignas(8) glm::vec2 texture_vertex3;
|
||||
|
||||
int mat_index;
|
||||
};
|
||||
|
Reference in New Issue
Block a user