18#ifndef HEADER_DRAW_CALLS_HPP
19#define HEADER_DRAW_CALLS_HPP
22#include "graphics/gl_headers.hpp"
35 class ISceneNode;
class ICameraSceneNode;
45 std::vector<float> m_bounding_boxes;
47 void parseSceneManager(core::array<scene::ISceneNode*> &List,
48 const scene::ICameraSceneNode *cam);
50 bool isCulledPrecise(
const scene::ICameraSceneNode *cam,
51 const scene::ISceneNode* node,
52 bool visualization =
false);
54 bool isBoxInFrontOfPlane(
const core::plane3df &plane,
55 const core::vector3df* edges);
57 void addEdgeForViz(
const core::vector3df &p0,
const core::vector3df &p1);
65 void renderBoundingBoxes();
67 void setFenceSync() { m_sync = glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); }
Definition: draw_calls.hpp:42
void prepareDrawCalls(irr::scene::ICameraSceneNode *camnode)
Prepare draw calls before scene rendering.
Definition: draw_calls.cpp:204
Definition: shadow_matrices.hpp:40