194 lines
6.9 KiB
TeX
194 lines
6.9 KiB
TeX
\hypertarget{struct_vector2}{
|
|
\section{Vector2 Struct Reference}
|
|
\label{struct_vector2}\index{Vector2@{Vector2}}
|
|
}
|
|
|
|
|
|
{\ttfamily \#include $<$Geometry.h$>$}
|
|
|
|
\subsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\hyperlink{struct_vector2_a6cb994a033ee0ce6a9d607b27ec2dc42}{Vector2} (float X, float Y)
|
|
\item
|
|
\hyperlink{struct_vector2_a90387a46b53d8cbcef993134c2d03245}{Vector2} (void)
|
|
\item
|
|
\hyperlink{struct_vector2_a299d9e1cd67d3fb587f57170afab9741}{Vector2} (const \hyperlink{struct_vector2}{Vector2} \&v)
|
|
\item
|
|
\hyperlink{struct_vector2}{Vector2} \hyperlink{struct_vector2_a3ff7b554e70e94ebc154664d7722e824}{operator$\ast$} (const float s) const
|
|
\item
|
|
\hyperlink{struct_vector2}{Vector2} \& \hyperlink{struct_vector2_a1df081c36e002f10ac92c957c6731065}{operator=} (const \hyperlink{struct_vector2}{Vector2} \&v)
|
|
\item
|
|
\hyperlink{struct_vector2}{Vector2} \& \hyperlink{struct_vector2_a4aa43747680ca286b4e274c8d85478d5}{operator+=} (const \hyperlink{struct_vector2}{Vector2} \&v)
|
|
\item
|
|
const \hyperlink{struct_vector2}{Vector2} \hyperlink{struct_vector2_a4696e053ead3dee114538718405ccf7a}{operator-\/} (const \hyperlink{struct_vector2}{Vector2} \&v) const
|
|
\item
|
|
float \hyperlink{struct_vector2_a8676f92084a7c96b02269f9692f9d8bc}{length} (void) const
|
|
\item
|
|
void \hyperlink{struct_vector2_ac6def9fbefb3e48ee2e854d6ce0ff140}{normalize} (void)
|
|
\end{DoxyCompactItemize}
|
|
\subsection*{Public Attributes}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
float \hyperlink{struct_vector2_a046bb8d17a876acc49415128dc0502f2}{x}
|
|
\item
|
|
float \hyperlink{struct_vector2_a0e07bad05f01ed811b909a2eef97f9e2}{y}
|
|
\end{DoxyCompactItemize}
|
|
|
|
|
|
\subsection{Detailed Description}
|
|
|
|
|
|
Definition at line 31 of file Geometry.h.
|
|
|
|
|
|
|
|
\subsection{Constructor \& Destructor Documentation}
|
|
\hypertarget{struct_vector2_a6cb994a033ee0ce6a9d607b27ec2dc42}{
|
|
\index{Vector2@{Vector2}!Vector2@{Vector2}}
|
|
\index{Vector2@{Vector2}!Vector2@{Vector2}}
|
|
\subsubsection[{Vector2}]{\setlength{\rightskip}{0pt plus 5cm}Vector2::Vector2 (
|
|
\begin{DoxyParamCaption}
|
|
\item[{float}]{X, }
|
|
\item[{float}]{Y}
|
|
\end{DoxyParamCaption}
|
|
)\hspace{0.3cm}{\ttfamily \mbox{[}inline\mbox{]}}}}
|
|
\label{struct_vector2_a6cb994a033ee0ce6a9d607b27ec2dc42}
|
|
|
|
|
|
Definition at line 33 of file Geometry.h.
|
|
|
|
\hypertarget{struct_vector2_a90387a46b53d8cbcef993134c2d03245}{
|
|
\index{Vector2@{Vector2}!Vector2@{Vector2}}
|
|
\index{Vector2@{Vector2}!Vector2@{Vector2}}
|
|
\subsubsection[{Vector2}]{\setlength{\rightskip}{0pt plus 5cm}Vector2::Vector2 (
|
|
\begin{DoxyParamCaption}
|
|
\item[{void}]{}
|
|
\end{DoxyParamCaption}
|
|
)\hspace{0.3cm}{\ttfamily \mbox{[}inline\mbox{]}}}}
|
|
\label{struct_vector2_a90387a46b53d8cbcef993134c2d03245}
|
|
|
|
|
|
Definition at line 37 of file Geometry.h.
|
|
|
|
\hypertarget{struct_vector2_a299d9e1cd67d3fb587f57170afab9741}{
|
|
\index{Vector2@{Vector2}!Vector2@{Vector2}}
|
|
\index{Vector2@{Vector2}!Vector2@{Vector2}}
|
|
\subsubsection[{Vector2}]{\setlength{\rightskip}{0pt plus 5cm}Vector2::Vector2 (
|
|
\begin{DoxyParamCaption}
|
|
\item[{const {\bf Vector2} \&}]{v}
|
|
\end{DoxyParamCaption}
|
|
)\hspace{0.3cm}{\ttfamily \mbox{[}inline\mbox{]}}}}
|
|
\label{struct_vector2_a299d9e1cd67d3fb587f57170afab9741}
|
|
|
|
|
|
Definition at line 41 of file Geometry.h.
|
|
|
|
|
|
|
|
\subsection{Member Function Documentation}
|
|
\hypertarget{struct_vector2_a8676f92084a7c96b02269f9692f9d8bc}{
|
|
\index{Vector2@{Vector2}!length@{length}}
|
|
\index{length@{length}!Vector2@{Vector2}}
|
|
\subsubsection[{length}]{\setlength{\rightskip}{0pt plus 5cm}float Vector2::length (
|
|
\begin{DoxyParamCaption}
|
|
\item[{void}]{}
|
|
\end{DoxyParamCaption}
|
|
) const\hspace{0.3cm}{\ttfamily \mbox{[}inline\mbox{]}}}}
|
|
\label{struct_vector2_a8676f92084a7c96b02269f9692f9d8bc}
|
|
|
|
|
|
Definition at line 74 of file Geometry.h.
|
|
|
|
\hypertarget{struct_vector2_ac6def9fbefb3e48ee2e854d6ce0ff140}{
|
|
\index{Vector2@{Vector2}!normalize@{normalize}}
|
|
\index{normalize@{normalize}!Vector2@{Vector2}}
|
|
\subsubsection[{normalize}]{\setlength{\rightskip}{0pt plus 5cm}void Vector2::normalize (
|
|
\begin{DoxyParamCaption}
|
|
\item[{void}]{}
|
|
\end{DoxyParamCaption}
|
|
)\hspace{0.3cm}{\ttfamily \mbox{[}inline\mbox{]}}}}
|
|
\label{struct_vector2_ac6def9fbefb3e48ee2e854d6ce0ff140}
|
|
|
|
|
|
Definition at line 78 of file Geometry.h.
|
|
|
|
\hypertarget{struct_vector2_a3ff7b554e70e94ebc154664d7722e824}{
|
|
\index{Vector2@{Vector2}!operator$\ast$@{operator$\ast$}}
|
|
\index{operator$\ast$@{operator$\ast$}!Vector2@{Vector2}}
|
|
\subsubsection[{operator$\ast$}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Vector2} Vector2::operator$\ast$ (
|
|
\begin{DoxyParamCaption}
|
|
\item[{const float}]{s}
|
|
\end{DoxyParamCaption}
|
|
) const\hspace{0.3cm}{\ttfamily \mbox{[}inline\mbox{]}}}}
|
|
\label{struct_vector2_a3ff7b554e70e94ebc154664d7722e824}
|
|
|
|
|
|
Definition at line 45 of file Geometry.h.
|
|
|
|
\hypertarget{struct_vector2_a4aa43747680ca286b4e274c8d85478d5}{
|
|
\index{Vector2@{Vector2}!operator+=@{operator+=}}
|
|
\index{operator+=@{operator+=}!Vector2@{Vector2}}
|
|
\subsubsection[{operator+=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Vector2}\& Vector2::operator+= (
|
|
\begin{DoxyParamCaption}
|
|
\item[{const {\bf Vector2} \&}]{v}
|
|
\end{DoxyParamCaption}
|
|
)\hspace{0.3cm}{\ttfamily \mbox{[}inline\mbox{]}}}}
|
|
\label{struct_vector2_a4aa43747680ca286b4e274c8d85478d5}
|
|
|
|
|
|
Definition at line 59 of file Geometry.h.
|
|
|
|
\hypertarget{struct_vector2_a4696e053ead3dee114538718405ccf7a}{
|
|
\index{Vector2@{Vector2}!operator-\/@{operator-\/}}
|
|
\index{operator-\/@{operator-\/}!Vector2@{Vector2}}
|
|
\subsubsection[{operator-\/}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf Vector2} Vector2::operator-\/ (
|
|
\begin{DoxyParamCaption}
|
|
\item[{const {\bf Vector2} \&}]{v}
|
|
\end{DoxyParamCaption}
|
|
) const\hspace{0.3cm}{\ttfamily \mbox{[}inline\mbox{]}}}}
|
|
\label{struct_vector2_a4696e053ead3dee114538718405ccf7a}
|
|
|
|
|
|
Definition at line 66 of file Geometry.h.
|
|
|
|
\hypertarget{struct_vector2_a1df081c36e002f10ac92c957c6731065}{
|
|
\index{Vector2@{Vector2}!operator=@{operator=}}
|
|
\index{operator=@{operator=}!Vector2@{Vector2}}
|
|
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Vector2}\& Vector2::operator= (
|
|
\begin{DoxyParamCaption}
|
|
\item[{const {\bf Vector2} \&}]{v}
|
|
\end{DoxyParamCaption}
|
|
)\hspace{0.3cm}{\ttfamily \mbox{[}inline\mbox{]}}}}
|
|
\label{struct_vector2_a1df081c36e002f10ac92c957c6731065}
|
|
|
|
|
|
Definition at line 49 of file Geometry.h.
|
|
|
|
|
|
|
|
\subsection{Member Data Documentation}
|
|
\hypertarget{struct_vector2_a046bb8d17a876acc49415128dc0502f2}{
|
|
\index{Vector2@{Vector2}!x@{x}}
|
|
\index{x@{x}!Vector2@{Vector2}}
|
|
\subsubsection[{x}]{\setlength{\rightskip}{0pt plus 5cm}float {\bf Vector2::x}}}
|
|
\label{struct_vector2_a046bb8d17a876acc49415128dc0502f2}
|
|
|
|
|
|
Definition at line 32 of file Geometry.h.
|
|
|
|
\hypertarget{struct_vector2_a0e07bad05f01ed811b909a2eef97f9e2}{
|
|
\index{Vector2@{Vector2}!y@{y}}
|
|
\index{y@{y}!Vector2@{Vector2}}
|
|
\subsubsection[{y}]{\setlength{\rightskip}{0pt plus 5cm}float {\bf Vector2::y}}}
|
|
\label{struct_vector2_a0e07bad05f01ed811b909a2eef97f9e2}
|
|
|
|
|
|
Definition at line 32 of file Geometry.h.
|
|
|
|
|
|
|
|
The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize}
|
|
\item
|
|
src/libUnuk/\hyperlink{_geometry_8h}{Geometry.h}\end{DoxyCompactItemize}
|