\doxysection{Tri\+List.\+hpp}
\hypertarget{TriList_8hpp_source}{}\label{TriList_8hpp_source}\index{/home/chr/devel/PhD/Environment/pub/PCBEnv/pcbenv/cxx/UI/TriList.hpp@{/home/chr/devel/PhD/Environment/pub/PCBEnv/pcbenv/cxx/UI/TriList.hpp}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ }
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#ifndef\ GYM\_PCB\_UI\_TRILIST\_H}}
\DoxyCodeLine{00003\ \textcolor{preprocessor}{\#define\ GYM\_PCB\_UI\_TRILIST\_H}}
\DoxyCodeLine{00004\ }
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ "{}GLContext.hpp"{}}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#include\ "{}Color.hpp"{}}}
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#include\ "{}Geometry.hpp"{}}}
\DoxyCodeLine{00008\ \textcolor{preprocessor}{\#include\ <vector>}}
\DoxyCodeLine{00009\ }
\DoxyCodeLine{00010\ \textcolor{keyword}{class\ }\mbox{\hyperlink{classCamera}{Camera}};}
\DoxyCodeLine{00011\ }
\DoxyCodeLine{00012\ \textcolor{keyword}{class\ }TriList}
\DoxyCodeLine{00013\ \{}
\DoxyCodeLine{00014\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00015\ \ \ \ \ TriList(\textcolor{keyword}{const}\ \mbox{\hyperlink{classPCBoard}{PCBoard}}\&);}
\DoxyCodeLine{00016\ \ \ \ \ \string~TriList();}
\DoxyCodeLine{00017\ \ \ \ \ \textcolor{keywordtype}{void}\ update(\textcolor{keyword}{const}\ \mbox{\hyperlink{classPCBoard}{PCBoard}}\&);}
\DoxyCodeLine{00018\ \ \ \ \ \textcolor{keywordtype}{void}\ setLineWidth(\textcolor{keywordtype}{float}\ w)\ \{\ mLineWidthBase\ =\ w;\ \}}
\DoxyCodeLine{00019\ \ \ \ \ \textcolor{keywordtype}{void}\ draw(\textcolor{keyword}{const}\ \mbox{\hyperlink{classCamera}{Camera}}\&);}
\DoxyCodeLine{00020\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00021\ \ \ \ \ uint\ mNumTris\{0\};}
\DoxyCodeLine{00022\ \ \ \ \ \textcolor{keywordtype}{float}\ mLineWidthBase\{1.0f\};}
\DoxyCodeLine{00023\ \ \ \ \ GLuint\ mVBO\{0\};}
\DoxyCodeLine{00024\ \ \ \ \ GLuint\ mIBO\{0\};}
\DoxyCodeLine{00025\ \ \ \ \ GLuint\ mVAO\{0\};}
\DoxyCodeLine{00026\ }
\DoxyCodeLine{00027\ \ \ \ \ \textcolor{keyword}{static}\ GLuint\ sVP,\ sFP;}
\DoxyCodeLine{00028\ \ \ \ \ \textcolor{keyword}{static}\ GLuint\ sPP;}
\DoxyCodeLine{00029\ \ \ \ \ \textcolor{keyword}{static}\ GLint\ sUniformFillAlpha;}
\DoxyCodeLine{00030\ }
\DoxyCodeLine{00031\ \ \ \ \ \textcolor{keywordtype}{void}\ createVAO();}
\DoxyCodeLine{00032\ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{void}\ createShaders();}
\DoxyCodeLine{00033\ \};}
\DoxyCodeLine{00034\ }
\DoxyCodeLine{00035\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ GYM\_PCB\_UI\_TRILIST\_H}}

\end{DoxyCode}
