43 #ifndef GLS_RENDER_VIEW_CHANGE_MANAGER_H
44 #define GLS_RENDER_VIEW_CHANGE_MANAGER_H
93 for(
unsigned int i = 0; i < listeners.
Count(); ++i )
95 listeners[ i ]->OnViewChanged( modelViewMatrix );
106 static Listeners& GetListeners()
108 static Listeners s_renderViewChangeListeners;
109 return s_renderViewChangeListeners;
Definition: dynamic_array.h:62
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:288
void Count(const unsigned int count)
Definition: dynamic_array.h:115
Definition: gls_render_view_change_manager.h:53
static void RemoveRenderViewChangeListener(GlsRenderViewChangeListener *listener)
Definition: gls_render_view_change_manager.h:82
void PushObject(const T &obj)
Definition: dynamic_array.h:270
virtual void OnViewChanged(const GlsMatrixType &modelViewMatrix)=0
~GlsRenderViewChangeListener()
Definition: gls_render_view_change_manager.h:63
Definition: bmpimage.h:46
static void AddRenderViewChangeListener(GlsRenderViewChangeListener *listener)
Definition: gls_render_view_change_manager.h:74
static void NotifyRenderViewChanged(const GlsMatrixType &modelViewMatrix)
Definition: gls_render_view_change_manager.h:90
Definition: gls_render_view_change_manager.h:67