43 #ifndef GLS_RENDER_VIEW_CHANGE_MANAGER_H
44 #define GLS_RENDER_VIEW_CHANGE_MANAGER_H
92 for(
unsigned int i = 0; i < listeners.
Count(); ++i )
94 listeners[i]->OnViewChanged(modelViewMatrix);
104 static Listeners& GetListeners()
106 static Listeners s_renderViewChangeListeners;
107 return s_renderViewChangeListeners;
Definition: dynamic_array.h:63
The disti::DynamicArray class. A templated array of objects capable of dynamically growing...
A file for all GL Studio files to include.
bool DeleteObject(const T &obj)
Definition: dynamic_array.h:294
void Count(const unsigned int count)
Definition: dynamic_array.h:120
Definition: gls_render_view_change_manager.h:53
static void RemoveRenderViewChangeListener(GlsRenderViewChangeListener *listener)
Definition: gls_render_view_change_manager.h:81
void PushObject(const T &obj)
Definition: dynamic_array.h:276
virtual void OnViewChanged(const GlsMatrixType &modelViewMatrix)=0
~GlsRenderViewChangeListener()
Definition: gls_render_view_change_manager.h:62
Definition: bmpimage.h:46
static void AddRenderViewChangeListener(GlsRenderViewChangeListener *listener)
Definition: gls_render_view_change_manager.h:73
static void NotifyRenderViewChanged(const GlsMatrixType &modelViewMatrix)
Definition: gls_render_view_change_manager.h:89
Definition: gls_render_view_change_manager.h:66