\hypertarget{a07388}{}\section{A\+CG\+:\+:G\+L\+Primitive Class Reference}
\label{a07388}\index{A\+C\+G\+::\+G\+L\+Primitive@{A\+C\+G\+::\+G\+L\+Primitive}}
Inheritance diagram for A\+CG\+:\+:G\+L\+Primitive\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=11.000000cm]{a07388}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07388_a05bc75733ccb1b6a104fa6701200db4f}\label{a07388_a05bc75733ccb1b6a104fa6701200db4f}} 
enum {\bfseries Normal\+Orientation} \{ {\bfseries O\+U\+T\+S\+I\+DE}, 
{\bfseries I\+N\+S\+I\+DE}
 \}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07388_aaedcf08299e71fd47ae8815d602eb027}\label{a07388_aaedcf08299e71fd47ae8815d602eb027}} 
void {\bfseries draw\+\_\+primitive} ()
\item 
\mbox{\Hypertarget{a07388_a4eced12d755b74a58b33e0d47f7dff09}\label{a07388_a4eced12d755b74a58b33e0d47f7dff09}} 
void {\bfseries draw\+\_\+primitive} (\hyperlink{a08132}{G\+L\+S\+L\+::\+Program} $\ast$\+\_\+program)
\item 
\mbox{\Hypertarget{a07388_ae7fd76b470ac0f51db981ae4fce9fe2a}\label{a07388_ae7fd76b470ac0f51db981ae4fce9fe2a}} 
void {\bfseries add\+To\+Renderer\+\_\+primitive} (class \hyperlink{a07468}{I\+Renderer} $\ast$\+\_\+renderer, struct \hyperlink{a07532}{Render\+Object} $\ast$\+\_\+ro)
\item 
\mbox{\Hypertarget{a07388_ac0d4999f9f6c594140a0d7b2aeaa42ce}\label{a07388_ac0d4999f9f6c594140a0d7b2aeaa42ce}} 
virtual int {\bfseries get\+Num\+Triangles} ()=0
\item 
\mbox{\Hypertarget{a07388_abcb8c70bd69f75ffba60b9729460b735}\label{a07388_abcb8c70bd69f75ffba60b9729460b735}} 
virtual int {\bfseries get\+Num\+Lines} ()
\item 
\mbox{\Hypertarget{a07388_ace9a026adfa0f3f314db7e7c76f951d7}\label{a07388_ace9a026adfa0f3f314db7e7c76f951d7}} 
unsigned int {\bfseries get\+V\+BO} ()
\item 
\mbox{\Hypertarget{a07388_a647a3432f3df58bac855aacb5f33346e}\label{a07388_a647a3432f3df58bac855aacb5f33346e}} 
const \hyperlink{a07596}{Vertex\+Declaration} $\ast$ {\bfseries get\+Vertex\+Decl} () const
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07388_a87f02b8f2f963090c0a329cdf99fd5b7}\label{a07388_a87f02b8f2f963090c0a329cdf99fd5b7}} 
virtual void {\bfseries update\+V\+BO} ()=0
\item 
\mbox{\Hypertarget{a07388_aa0196cb6f3b3b6dbc5dfa1aa722b47fe}\label{a07388_aa0196cb6f3b3b6dbc5dfa1aa722b47fe}} 
void {\bfseries add\+Triangle\+To\+V\+BO} (const \hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{A\+C\+G\+::\+Vec3f} $\ast$\+\_\+p, const \hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{A\+C\+G\+::\+Vec3f} $\ast$\+\_\+n, const \hyperlink{a06176_a8b858737aebd55e312149cf208a0b3f3}{A\+C\+G\+::\+Vec2f} $\ast$\+\_\+tex)
\item 
\mbox{\Hypertarget{a07388_a3e83e0400bf74506411cf95acf079e60}\label{a07388_a3e83e0400bf74506411cf95acf079e60}} 
void {\bfseries add\+Line\+To\+V\+BO} (const \hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{A\+C\+G\+::\+Vec3f} $\ast$\+\_\+p, const \hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{A\+C\+G\+::\+Vec3f} $\ast$\+\_\+n, const \hyperlink{a06176_a8b858737aebd55e312149cf208a0b3f3}{A\+C\+G\+::\+Vec2f} $\ast$\+\_\+tex)
\item 
\mbox{\Hypertarget{a07388_a9a578c6a63c6b868fba266267a737deb}\label{a07388_a9a578c6a63c6b868fba266267a737deb}} 
void {\bfseries bind\+V\+BO} ()
\item 
\mbox{\Hypertarget{a07388_aa6c31658be203b08117fd413d074905a}\label{a07388_aa6c31658be203b08117fd413d074905a}} 
bool {\bfseries check\+V\+BO} ()
\item 
\mbox{\Hypertarget{a07388_a2df2d95fc32bc5d3416ca07c4c151982}\label{a07388_a2df2d95fc32bc5d3416ca07c4c151982}} 
void {\bfseries un\+Bind\+V\+BO} ()
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07388_a34a95bdec0b46e350fb2a26b4c61f4ed}\label{a07388_a34a95bdec0b46e350fb2a26b4c61f4ed}} 
bool {\bfseries vbo\+Data\+Invalid\+\_\+}
\item 
\mbox{\Hypertarget{a07388_a4468e144cfc794a62aa40cd2a456b109}\label{a07388_a4468e144cfc794a62aa40cd2a456b109}} 
Normal\+Orientation {\bfseries normal\+Orientation\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07388_a8066c2621038be080cb1e373800b6a48}\label{a07388_a8066c2621038be080cb1e373800b6a48}} 
void {\bfseries update\+V\+B\+O\+Data} ()
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07388_ad5f8acc8164760328327a7c1c261a403}\label{a07388_ad5f8acc8164760328327a7c1c261a403}} 
int {\bfseries num\+Tris\+\_\+}
\item 
\mbox{\Hypertarget{a07388_a7d46179b9f7052f5edf99d0b37dcaa2f}\label{a07388_a7d46179b9f7052f5edf99d0b37dcaa2f}} 
int {\bfseries num\+Lines\+\_\+}
\item 
\mbox{\Hypertarget{a07388_ab51b5c19b37d953c5f80b458bb1abab9}\label{a07388_ab51b5c19b37d953c5f80b458bb1abab9}} 
float $\ast$ {\bfseries vbo\+Data\+\_\+}
\item 
\mbox{\Hypertarget{a07388_ada4e2aea3cf651f9c87dadc2183b5ca5}\label{a07388_ada4e2aea3cf651f9c87dadc2183b5ca5}} 
int {\bfseries cur\+Tri\+Ptr\+\_\+}
\item 
\mbox{\Hypertarget{a07388_ac87c3e7826466cdaf86d0a55b6a589c9}\label{a07388_ac87c3e7826466cdaf86d0a55b6a589c9}} 
\hyperlink{a07596}{Vertex\+Declaration} {\bfseries vertex\+Decl\+\_\+}
\item 
\mbox{\Hypertarget{a07388_a6440e84b7c344994a441c79f0e95ab36}\label{a07388_a6440e84b7c344994a441c79f0e95ab36}} 
unsigned int {\bfseries vbo\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 72 of file G\+L\+Primitives.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+G\+L/G\+L\+Primitives.\+hh\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+G\+L/G\+L\+Primitives.\+cc\end{DoxyCompactItemize}
