mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 18:48:36 +02:00
+ | Triangle intersection
This commit is contained in:
@ -27,8 +27,8 @@ struct GPUObject
|
||||
float radius; // sphere
|
||||
alignas(16) glm::vec3 normal; // plane
|
||||
|
||||
alignas(16) glm::vec3 edge1; //quad
|
||||
alignas(16) glm::vec3 edge2; //quad
|
||||
alignas(16) glm::vec3 vertex1; //quad triangle
|
||||
alignas(16) glm::vec3 vertex2; //quad triangle
|
||||
|
||||
int type;
|
||||
};
|
||||
|
Reference in New Issue
Block a user