\hypertarget{struct_solid_object}{
\section{Solid\-Object Struct Reference}
\label{struct_solid_object}\index{SolidObject@{SolidObject}}
}
3D object description  


{\tt \#include $<$solid\_\-objects.h$>$}

\subsection*{Data Fields}
\begin{CompactItemize}
\item 
int \hyperlink{struct_solid_object_dd8ee13ee5fbc7a4a40a9e73738e97fb}{N}
\item 
int \hyperlink{struct_solid_object_001bc7e9ae5f88d858a52bf13b76597f}{M}
\begin{CompactList}\small\item\em matrices size \item\end{CompactList}\item 
float $\ast$$\ast$ \hyperlink{struct_solid_object_7404631ccc5e6b5a5e57a65f5d5acccf}{X}
\item 
float $\ast$$\ast$ \hyperlink{struct_solid_object_8c126864aa89409a1d16a534ce48568b}{Y}
\item 
float $\ast$$\ast$ \hyperlink{struct_solid_object_73a6df05ce394383ac35b2bf9307e9e9}{Z}
\begin{CompactList}\small\item\em vertex coordinates \item\end{CompactList}\item 
float $\ast$$\ast$ \hyperlink{struct_solid_object_cea6b61c0e876e57f3b046aad25dbd60}{n\-X}
\item 
float $\ast$$\ast$ \hyperlink{struct_solid_object_2ec23668bf9a0b5c3d3ccea516b53050}{n\-Y}
\item 
float $\ast$$\ast$ \hyperlink{struct_solid_object_c1bf76063f9392cdc38cf3a692b324ae}{n\-Z}
\begin{CompactList}\small\item\em Vertex normals. \item\end{CompactList}\item 
float $\ast$$\ast$ \hyperlink{struct_solid_object_177eb87deb7bd7dd690d58e7789f6676}{R}
\item 
float $\ast$$\ast$ \hyperlink{struct_solid_object_b80beb7d13d2ec9b74ba80f07c937842}{G}
\item 
float $\ast$$\ast$ \hyperlink{struct_solid_object_ea78819f71c13adf1aabd991bec4776b}{B}
\begin{CompactList}\small\item\em vertex color \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
3D object description 

Structure for the description of an object as a mesh.\par
 N, M: size of the mesh 2D array.\par
 $\ast$$\ast$X, $\ast$$\ast$Y, $\ast$$\ast$Z : vertex coordinates.\par
 $\ast$$\ast$n\-X, $\ast$$\ast$n\-Y, $\ast$$\ast$n\-Z : normals to vertexes (for lighting).\par
 $\ast$$\ast$R, $\ast$$\ast$G, $\ast$$\ast$B : vertex color.\par
 



Definition at line 28 of file solid\_\-objects.h.

\subsection{Field Documentation}
\hypertarget{struct_solid_object_ea78819f71c13adf1aabd991bec4776b}{
\index{SolidObject@{Solid\-Object}!B@{B}}
\index{B@{B}!SolidObject@{Solid\-Object}}
\subsubsection[B]{\setlength{\rightskip}{0pt plus 5cm}float $\ast$$\ast$ \hyperlink{struct_solid_object_ea78819f71c13adf1aabd991bec4776b}{Solid\-Object::B}}}
\label{struct_solid_object_ea78819f71c13adf1aabd991bec4776b}


vertex color 



Definition at line 36 of file solid\_\-objects.h.

Referenced by Boat\_\-create(), Solid\-Object\_\-create(), Solid\-Object\_\-delete(), and Solid\-Object\_\-draw().\hypertarget{struct_solid_object_b80beb7d13d2ec9b74ba80f07c937842}{
\index{SolidObject@{Solid\-Object}!G@{G}}
\index{G@{G}!SolidObject@{Solid\-Object}}
\subsubsection[G]{\setlength{\rightskip}{0pt plus 5cm}float $\ast$$\ast$ \hyperlink{struct_solid_object_b80beb7d13d2ec9b74ba80f07c937842}{Solid\-Object::G}}}
\label{struct_solid_object_b80beb7d13d2ec9b74ba80f07c937842}




Definition at line 36 of file solid\_\-objects.h.

Referenced by Boat\_\-create(), Solid\-Object\_\-create(), Solid\-Object\_\-delete(), and Solid\-Object\_\-draw().\hypertarget{struct_solid_object_001bc7e9ae5f88d858a52bf13b76597f}{
\index{SolidObject@{Solid\-Object}!M@{M}}
\index{M@{M}!SolidObject@{Solid\-Object}}
\subsubsection[M]{\setlength{\rightskip}{0pt plus 5cm}int \hyperlink{struct_solid_object_001bc7e9ae5f88d858a52bf13b76597f}{Solid\-Object::M}}}
\label{struct_solid_object_001bc7e9ae5f88d858a52bf13b76597f}


matrices size 



Definition at line 30 of file solid\_\-objects.h.

Referenced by Solid\-Object\_\-compute\_\-normals(), Solid\-Object\_\-create(), and Solid\-Object\_\-draw().\hypertarget{struct_solid_object_dd8ee13ee5fbc7a4a40a9e73738e97fb}{
\index{SolidObject@{Solid\-Object}!N@{N}}
\index{N@{N}!SolidObject@{Solid\-Object}}
\subsubsection[N]{\setlength{\rightskip}{0pt plus 5cm}int \hyperlink{struct_solid_object_dd8ee13ee5fbc7a4a40a9e73738e97fb}{Solid\-Object::N}}}
\label{struct_solid_object_dd8ee13ee5fbc7a4a40a9e73738e97fb}




Definition at line 30 of file solid\_\-objects.h.

Referenced by Solid\-Object\_\-compute\_\-normals(), Solid\-Object\_\-create(), Solid\-Object\_\-delete(), and Solid\-Object\_\-draw().\hypertarget{struct_solid_object_cea6b61c0e876e57f3b046aad25dbd60}{
\index{SolidObject@{Solid\-Object}!nX@{nX}}
\index{nX@{nX}!SolidObject@{Solid\-Object}}
\subsubsection[nX]{\setlength{\rightskip}{0pt plus 5cm}float$\ast$$\ast$ \hyperlink{struct_solid_object_cea6b61c0e876e57f3b046aad25dbd60}{Solid\-Object::n\-X}}}
\label{struct_solid_object_cea6b61c0e876e57f3b046aad25dbd60}




Definition at line 34 of file solid\_\-objects.h.

Referenced by Solid\-Object\_\-compute\_\-normals(), Solid\-Object\_\-create(), Solid\-Object\_\-delete(), and Solid\-Object\_\-draw().\hypertarget{struct_solid_object_2ec23668bf9a0b5c3d3ccea516b53050}{
\index{SolidObject@{Solid\-Object}!nY@{nY}}
\index{nY@{nY}!SolidObject@{Solid\-Object}}
\subsubsection[nY]{\setlength{\rightskip}{0pt plus 5cm}float $\ast$$\ast$ \hyperlink{struct_solid_object_2ec23668bf9a0b5c3d3ccea516b53050}{Solid\-Object::n\-Y}}}
\label{struct_solid_object_2ec23668bf9a0b5c3d3ccea516b53050}




Definition at line 34 of file solid\_\-objects.h.

Referenced by Solid\-Object\_\-compute\_\-normals(), Solid\-Object\_\-create(), Solid\-Object\_\-delete(), and Solid\-Object\_\-draw().\hypertarget{struct_solid_object_c1bf76063f9392cdc38cf3a692b324ae}{
\index{SolidObject@{Solid\-Object}!nZ@{nZ}}
\index{nZ@{nZ}!SolidObject@{Solid\-Object}}
\subsubsection[nZ]{\setlength{\rightskip}{0pt plus 5cm}float $\ast$$\ast$ \hyperlink{struct_solid_object_c1bf76063f9392cdc38cf3a692b324ae}{Solid\-Object::n\-Z}}}
\label{struct_solid_object_c1bf76063f9392cdc38cf3a692b324ae}


Vertex normals. 



Definition at line 34 of file solid\_\-objects.h.

Referenced by Solid\-Object\_\-compute\_\-normals(), Solid\-Object\_\-create(), Solid\-Object\_\-delete(), and Solid\-Object\_\-draw().\hypertarget{struct_solid_object_177eb87deb7bd7dd690d58e7789f6676}{
\index{SolidObject@{Solid\-Object}!R@{R}}
\index{R@{R}!SolidObject@{Solid\-Object}}
\subsubsection[R]{\setlength{\rightskip}{0pt plus 5cm}float$\ast$$\ast$ \hyperlink{struct_solid_object_177eb87deb7bd7dd690d58e7789f6676}{Solid\-Object::R}}}
\label{struct_solid_object_177eb87deb7bd7dd690d58e7789f6676}




Definition at line 36 of file solid\_\-objects.h.

Referenced by Boat\_\-create(), Solid\-Object\_\-create(), Solid\-Object\_\-delete(), and Solid\-Object\_\-draw().\hypertarget{struct_solid_object_7404631ccc5e6b5a5e57a65f5d5acccf}{
\index{SolidObject@{Solid\-Object}!X@{X}}
\index{X@{X}!SolidObject@{Solid\-Object}}
\subsubsection[X]{\setlength{\rightskip}{0pt plus 5cm}float$\ast$$\ast$ \hyperlink{struct_solid_object_7404631ccc5e6b5a5e57a65f5d5acccf}{Solid\-Object::X}}}
\label{struct_solid_object_7404631ccc5e6b5a5e57a65f5d5acccf}




Definition at line 32 of file solid\_\-objects.h.

Referenced by Boat\_\-create(), Solid\-Object\_\-compute\_\-normals(), Solid\-Object\_\-create(), Solid\-Object\_\-delete(), and Solid\-Object\_\-draw().\hypertarget{struct_solid_object_8c126864aa89409a1d16a534ce48568b}{
\index{SolidObject@{Solid\-Object}!Y@{Y}}
\index{Y@{Y}!SolidObject@{Solid\-Object}}
\subsubsection[Y]{\setlength{\rightskip}{0pt plus 5cm}float $\ast$$\ast$ \hyperlink{struct_solid_object_8c126864aa89409a1d16a534ce48568b}{Solid\-Object::Y}}}
\label{struct_solid_object_8c126864aa89409a1d16a534ce48568b}




Definition at line 32 of file solid\_\-objects.h.

Referenced by Boat\_\-create(), Solid\-Object\_\-compute\_\-normals(), Solid\-Object\_\-create(), Solid\-Object\_\-delete(), and Solid\-Object\_\-draw().\hypertarget{struct_solid_object_73a6df05ce394383ac35b2bf9307e9e9}{
\index{SolidObject@{Solid\-Object}!Z@{Z}}
\index{Z@{Z}!SolidObject@{Solid\-Object}}
\subsubsection[Z]{\setlength{\rightskip}{0pt plus 5cm}float $\ast$$\ast$ \hyperlink{struct_solid_object_73a6df05ce394383ac35b2bf9307e9e9}{Solid\-Object::Z}}}
\label{struct_solid_object_73a6df05ce394383ac35b2bf9307e9e9}


vertex coordinates 



Definition at line 32 of file solid\_\-objects.h.

Referenced by Boat\_\-create(), Solid\-Object\_\-compute\_\-normals(), Solid\-Object\_\-create(), Solid\-Object\_\-delete(), and Solid\-Object\_\-draw().

The documentation for this struct was generated from the following file:\begin{CompactItemize}
\item 
D:/Basile/Visual\-Cpp\-Projects/hydro\-MEX3/hydro\-MEX3/o\-GL\_\-graphics/\hyperlink{solid__objects_8h}{solid\_\-objects.h}\end{CompactItemize}
