]> git.lizzy.rs Git - dragonblocks_alpha.git/blobdiff - src/client/scene.h
Fix blending issues by sorting transparent objects
[dragonblocks_alpha.git] / src / client / scene.h
index 29013de592edf75902fd7238ab6183be05590c66..1a27162fd345fda502842417c636523afb8a3268 100644 (file)
@@ -4,6 +4,7 @@
 #include <stdbool.h>
 #include <pthread.h>
 #include <linmath.h/linmath.h>
+#include <dragontype/bintree.h>
 #include <dragontype/list.h>
 #include <dragontype/number.h>
 #include "client/object.h"
@@ -11,6 +12,7 @@
 extern struct Scene
 {
        List objects;
+       Bintree render_objects;
        pthread_mutex_t mtx;
        GLuint prog;
        GLint loc_model;