36 void render(
unsigned width,
unsigned height);
64 std::vector<uint32_t> &occluder_indices,
65 const Mesh &box_mesh,
const vec4 *instances,
unsigned num_instances);
74 #define INDIRECT_BUFFERS 4
100 void update_camera(
float rotation_y,
float rotation_x,
unsigned viewport_width,
unsigned viewport_height);
unsigned num_occluder_instances
void render(unsigned width, unsigned height)
void set_physics_speed(float speed)
GLint GLsizei GLsizei height
void bake_occluder_geometry(std::vector< vec4 > &occluder_positions, std::vector< uint32_t > &occluder_indices, const Mesh &box_mesh, const vec4 *instances, unsigned num_instances)
void update(float delta_time, unsigned width, unsigned height)
void render_spheres(vec3 color_mod)
void apply_physics(float delta_time)
void move_camera(float delta_x, float delta_y)
unsigned culling_implementation_index
unsigned num_render_sphere_instances
GLuint sphere_instances_buffer
void set_culling_method(CullingMethod method)
std::vector< CullingInterface * > culling_implementations
bool get_show_redundant() const
unsigned num_sphere_render_lods
void set_show_redundant(bool enable)
GLDrawable * sphere[SPHERE_LODS]
struct Scene::@26 indirect
float get_physics_speed() const
GLuint occluder_instances_buffer
GLuint instance_buffer[SPHERE_LODS]
typedef GLuint(GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC)(GLuint count
void update_camera(float rotation_y, float rotation_x, unsigned viewport_width, unsigned viewport_height)