TIny cleanup
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
|
||||
#define SCENE_DEBUG_LINE_VERTICE_COUNT 2
|
||||
#define SCENE_DEBUG_LINE_INDICE_COUNT 2
|
||||
#define SCENE_DEBUG_LINE_PRIORITY 100
|
||||
#define SCENE_DEBUG_LINE_PRIORITY 1
|
||||
|
||||
namespace Dawn {
|
||||
class SimpleTexturedShader;
|
||||
@ -20,14 +20,16 @@ namespace Dawn {
|
||||
glm::vec3 min;
|
||||
glm::vec3 max;
|
||||
struct Color color = COLOR_RED;
|
||||
glm::mat4 translation = glm::mat4(1.0f);
|
||||
glm::mat4 transform = glm::mat4(1.0f);
|
||||
};
|
||||
|
||||
struct SceneDebugLine {
|
||||
glm::vec3 v0 = glm::vec3(0, 0, 0);
|
||||
glm::vec3 v1 = glm::vec3(1, 1, 1);
|
||||
struct Color color = COLOR_RED;
|
||||
glm::mat4 translation = glm::mat4(1.0f);
|
||||
glm::mat4 transform = glm::mat4(1.0f);
|
||||
int32_t priority = SCENE_DEBUG_LINE_PRIORITY;
|
||||
|
||||
|
||||
/**
|
||||
* Creates a renderable shader item for this debug line.
|
||||
|
Reference in New Issue
Block a user