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