|
|
|
|
@ -86,6 +86,13 @@
|
|
|
|
|
#include "util.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// NOTE: can set TANGERINE_GL_DEBUG_QUIET in your application to disable extra
|
|
|
|
|
// debug messages from openGL
|
|
|
|
|
#ifndef TANGERINE_GL_DEBUG_QUIET |
|
|
|
|
#define TANGERINE_GL_DEBUG_NOISY |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct SDLHandles |
|
|
|
|
{ |
|
|
|
|
SDL_Window* window; |
|
|
|
|
@ -94,9 +101,6 @@ struct SDLHandles
|
|
|
|
|
u32 SDL_flags; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
// TODO: node/tree structure for entities
|
|
|
|
|
struct Node; |
|
|
|
|
|
|
|
|
|
struct RenderGroup |
|
|
|
|
{ |
|
|
|
|
ShaderProgram* shader; |
|
|
|
|
@ -106,7 +110,10 @@ struct RenderGroup
|
|
|
|
|
char* name; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
// TODO: node/tree structure for entities
|
|
|
|
|
#if 0 |
|
|
|
|
struct Node; |
|
|
|
|
|
|
|
|
|
struct Scene |
|
|
|
|
{ |
|
|
|
|
MemoryArena* rg_arena; |
|
|
|
|
|