\hypertarget{a07396}{}\section{A\+CG\+:\+:G\+L\+Cone Class Reference}
\label{a07396}\index{A\+C\+G\+::\+G\+L\+Cone@{A\+C\+G\+::\+G\+L\+Cone}}
Inheritance diagram for A\+CG\+:\+:G\+L\+Cone\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{a07396}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07396_ab5e505dfad43f21235d7e3f120b7cbfd}\label{a07396_ab5e505dfad43f21235d7e3f120b7cbfd}} 
{\bfseries G\+L\+Cone} (int \+\_\+slices, int \+\_\+stacks, float \+\_\+bottom\+Radius, float \+\_\+top\+Radius, bool \+\_\+bottom\+Cap\+\_\+, bool \+\_\+top\+Cap)
\item 
\mbox{\Hypertarget{a07396_a6e14b5bce1a7e4c7cf3f50a9354d43d8}\label{a07396_a6e14b5bce1a7e4c7cf3f50a9354d43d8}} 
void {\bfseries draw} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state, float \+\_\+height, const \hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{A\+C\+G\+::\+Vec3f} \&\+\_\+center=\hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{A\+C\+G\+::\+Vec3f}(0.\+0f, 0.\+0f, 0.\+0f), A\+C\+G\+::\+Vec3f \+\_\+up\+Dir=\+A\+C\+G\+::\+Vec3f(0.\+0f, 0.\+0f, 1.\+0f))
\item 
\mbox{\Hypertarget{a07396_ab8c6d4c5fdf6f106b6280b49936ec706}\label{a07396_ab8c6d4c5fdf6f106b6280b49936ec706}} 
void {\bfseries add\+To\+Renderer} (class \hyperlink{a07468}{I\+Renderer} $\ast$\+\_\+renderer, const struct \hyperlink{a07532}{Render\+Object} $\ast$\+\_\+base, float \+\_\+height, const \hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{A\+C\+G\+::\+Vec3f} \&\+\_\+center=\hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{A\+C\+G\+::\+Vec3f}(0.\+0f, 0.\+0f, 0.\+0f), A\+C\+G\+::\+Vec3f \+\_\+up\+Dir=\+A\+C\+G\+::\+Vec3f(0.\+0f, 0.\+0f, 1.\+0f), float \+\_\+radius\+Scale=1.\+0f)
\item 
\mbox{\Hypertarget{a07396_aa112ee787120131af216632d79906423}\label{a07396_aa112ee787120131af216632d79906423}} 
int {\bfseries get\+Num\+Triangles} ()
\item 
\mbox{\Hypertarget{a07396_ad6553663715f345067b209425a13b1c9}\label{a07396_ad6553663715f345067b209425a13b1c9}} 
void {\bfseries update\+V\+BO} ()
\item 
\mbox{\Hypertarget{a07396_ac74115cfcd9cd91104b487d3c48adeb3}\label{a07396_ac74115cfcd9cd91104b487d3c48adeb3}} 
void {\bfseries set\+Bottom\+Radius} (float \+\_\+bottom\+Radius)
\item 
\mbox{\Hypertarget{a07396_a43bd7c55776f14d96af3e546d78f98a5}\label{a07396_a43bd7c55776f14d96af3e546d78f98a5}} 
void {\bfseries set\+Top\+Radius} (float \+\_\+top\+Radius)
\item 
\mbox{\Hypertarget{a07396_a000713ed4b458e6fc7602a66d6c89d6f}\label{a07396_a000713ed4b458e6fc7602a66d6c89d6f}} 
void {\bfseries set\+Normal\+Orientation} (Normal\+Orientation orienation)
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07396_aeaa14e3b4611524af3f50076af1580a7}\label{a07396_aeaa14e3b4611524af3f50076af1580a7}} 
void {\bfseries add\+Triangle} (int sl0, int st0, int sl1, int st1, int sl2, int st2)
\item 
\mbox{\Hypertarget{a07396_a5bbd1f342994f3625dcd04674dd4e6ee}\label{a07396_a5bbd1f342994f3625dcd04674dd4e6ee}} 
\hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{A\+C\+G\+::\+Vec3f} {\bfseries position\+On\+Cone} (int \+\_\+slice\+Number, int \+\_\+stack\+Number)
\item 
\mbox{\Hypertarget{a07396_a588c1652689aadeb7ed77e99c7f867c1}\label{a07396_a588c1652689aadeb7ed77e99c7f867c1}} 
\hyperlink{a06176_a8b858737aebd55e312149cf208a0b3f3}{A\+C\+G\+::\+Vec2f} {\bfseries tex\+Coord\+On\+Cone} (int \+\_\+slice\+Number, int \+\_\+stack\+Number)
\item 
\mbox{\Hypertarget{a07396_a9e7382c6903bf15538ba1dbf6273f590}\label{a07396_a9e7382c6903bf15538ba1dbf6273f590}} 
\hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{A\+C\+G\+::\+Vec3f} {\bfseries normal\+On\+Cone} (int \+\_\+slice\+Number, int \+\_\+stack\+Number)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07396_a03a66f4deef4544e4123ffbcf8107ee5}\label{a07396_a03a66f4deef4544e4123ffbcf8107ee5}} 
int {\bfseries slices\+\_\+}
\item 
\mbox{\Hypertarget{a07396_abbfbe2eff96b96b4561a343e18a8da79}\label{a07396_abbfbe2eff96b96b4561a343e18a8da79}} 
int {\bfseries stacks\+\_\+}
\item 
\mbox{\Hypertarget{a07396_a7fd584e65802788b5da3abbe9f76f548}\label{a07396_a7fd584e65802788b5da3abbe9f76f548}} 
float {\bfseries bottom\+Radius\+\_\+}
\item 
\mbox{\Hypertarget{a07396_ab48023b6593199ad00c1735a7358facc}\label{a07396_ab48023b6593199ad00c1735a7358facc}} 
float {\bfseries top\+Radius\+\_\+}
\item 
\mbox{\Hypertarget{a07396_a90bc27c6f8bc1587e300dcb8c1b6fc79}\label{a07396_a90bc27c6f8bc1587e300dcb8c1b6fc79}} 
bool {\bfseries bottom\+Cap\+\_\+}
\item 
\mbox{\Hypertarget{a07396_a6d3e43064bb6ad0eebb21e9f9f1abb7a}\label{a07396_a6d3e43064bb6ad0eebb21e9f9f1abb7a}} 
bool {\bfseries top\+Cap\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


Definition at line 169 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}
