\hypertarget{triangle_8h_source}{}\doxysection{triangle.\+h}
\label{triangle_8h_source}\index{lib\_headers/mingl/shape/triangle.h@{lib\_headers/mingl/shape/triangle.h}}
\mbox{\hyperlink{triangle_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00001}00001 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00011}00011 \textcolor{preprocessor}{\#ifndef TRIANGLE\_H}}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00012}00012 \textcolor{preprocessor}{\#define TRIANGLE\_H}}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00013}00013 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00014}00014 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{shape_8h}{shape.h}}"{}}}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00015}00015 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00016}00016 \textcolor{preprocessor}{\#include "{}../transition/itransitionable.h"{}}}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00017}00017 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00018}00018 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespacens_shape}{nsShape}}}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00019}00019 \{}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00020}00020 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00025}\mbox{\hyperlink{classns_shape_1_1_triangle}{00025}} \textcolor{keyword}{class }\mbox{\hyperlink{classns_shape_1_1_triangle}{Triangle}} : \textcolor{keyword}{public} \mbox{\hyperlink{classns_shape_1_1_shape}{Shape}}, \textcolor{keyword}{public} \mbox{\hyperlink{classns_transition_1_1_i_transitionable}{nsTransition::ITransitionable}}}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00026}00026 \{}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00027}00027 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00028}00028 \textcolor{keyword}{public}:}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00032}\mbox{\hyperlink{classns_shape_1_1_triangle_adef21dd21ed3b5e4aa378f264abbe758}{00032}}     \textcolor{keyword}{enum} \mbox{\hyperlink{classns_shape_1_1_triangle_adef21dd21ed3b5e4aa378f264abbe758}{TransitionIds}} \{}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00033}\mbox{\hyperlink{classns_shape_1_1_triangle_adef21dd21ed3b5e4aa378f264abbe758a9f20afd121f616d684ec0bd6b31dab54}{00033}}         \mbox{\hyperlink{classns_shape_1_1_triangle_adef21dd21ed3b5e4aa378f264abbe758a9f20afd121f616d684ec0bd6b31dab54}{TRANSITION\_FILL\_COLOR\_RGB}}, }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00034}\mbox{\hyperlink{classns_shape_1_1_triangle_adef21dd21ed3b5e4aa378f264abbe758a62867e3ea6657dbc0f9cc61bdca87be8}{00034}}         \mbox{\hyperlink{classns_shape_1_1_triangle_adef21dd21ed3b5e4aa378f264abbe758a62867e3ea6657dbc0f9cc61bdca87be8}{TRANSITION\_FILL\_COLOR\_ALPHA}}, }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00035}\mbox{\hyperlink{classns_shape_1_1_triangle_adef21dd21ed3b5e4aa378f264abbe758a43cba48c71b5804af47f7e1d5e1ecc9a}{00035}}         \mbox{\hyperlink{classns_shape_1_1_triangle_adef21dd21ed3b5e4aa378f264abbe758a43cba48c71b5804af47f7e1d5e1ecc9a}{TRANSITION\_BORDER\_COLOR\_RGB}}, }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00036}\mbox{\hyperlink{classns_shape_1_1_triangle_adef21dd21ed3b5e4aa378f264abbe758a541ff20fa337c2bfaaf7b29fbce4f586}{00036}}         \mbox{\hyperlink{classns_shape_1_1_triangle_adef21dd21ed3b5e4aa378f264abbe758a541ff20fa337c2bfaaf7b29fbce4f586}{TRANSITION\_BORDER\_COLOR\_ALPHA}}, }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00037}\mbox{\hyperlink{classns_shape_1_1_triangle_adef21dd21ed3b5e4aa378f264abbe758aba96bb1e08665d081bedc72f56a85976}{00037}}         \mbox{\hyperlink{classns_shape_1_1_triangle_adef21dd21ed3b5e4aa378f264abbe758aba96bb1e08665d081bedc72f56a85976}{TRANSITION\_FIRST\_POSITION}}, }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00038}\mbox{\hyperlink{classns_shape_1_1_triangle_adef21dd21ed3b5e4aa378f264abbe758a183e546c687567c28475575d67a12562}{00038}}         \mbox{\hyperlink{classns_shape_1_1_triangle_adef21dd21ed3b5e4aa378f264abbe758a183e546c687567c28475575d67a12562}{TRANSITION\_SECOND\_POSITION}}, }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00039}\mbox{\hyperlink{classns_shape_1_1_triangle_adef21dd21ed3b5e4aa378f264abbe758a634481d887d4cd8f6d5349d795c930cc}{00039}}         \mbox{\hyperlink{classns_shape_1_1_triangle_adef21dd21ed3b5e4aa378f264abbe758a634481d887d4cd8f6d5349d795c930cc}{TRANSITION\_THIRD\_POSITION}}, }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00040}00040     \};}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00041}00041 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00052}\mbox{\hyperlink{classns_shape_1_1_triangle_a72e60fed26e09d01757828ec019134c7}{00052}}     \mbox{\hyperlink{classns_shape_1_1_triangle_a72e60fed26e09d01757828ec019134c7}{Triangle}}(\textcolor{keyword}{const} \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}}\& firstPosition, \textcolor{keyword}{const} \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}}\& secondPosition, \textcolor{keyword}{const} \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}}\& thirdPosition,}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00053}00053              \textcolor{keyword}{const} \mbox{\hyperlink{classns_graphics_1_1_r_g_b_acolor}{nsGraphics::RGBAcolor}}\& fillColor, \textcolor{keyword}{const} \mbox{\hyperlink{classns_graphics_1_1_r_g_b_acolor}{nsGraphics::RGBAcolor}}\& borderColor = \mbox{\hyperlink{namespacens_graphics_ab2001ad03cceb2565849e04465618c1e}{nsGraphics::KTransparent}});}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00054}00054 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00059}\mbox{\hyperlink{classns_shape_1_1_triangle_ae59fd091a1005d0e4a7e648487c69739}{00059}}     \textcolor{keyword}{virtual} \mbox{\hyperlink{classns_shape_1_1_triangle_ae59fd091a1005d0e4a7e648487c69739}{\string~Triangle}}() \textcolor{keyword}{override} = \textcolor{keywordflow}{default};}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00060}00060 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00061}\mbox{\hyperlink{classns_shape_1_1_triangle_a4b3867fb0e15995b2a6c261d9b0d968d}{00061}}     \textcolor{keyword}{virtual} \textcolor{keywordtype}{void} \mbox{\hyperlink{classns_shape_1_1_triangle_a4b3867fb0e15995b2a6c261d9b0d968d}{draw}}(\mbox{\hyperlink{class_min_g_l}{MinGL}}\& window) \textcolor{keyword}{const override};}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00062}00062 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00063}\mbox{\hyperlink{classns_shape_1_1_triangle_a745ce53bf673b56a23a30f732a041834}{00063}}     \textcolor{keyword}{virtual} \textcolor{keywordtype}{void} \mbox{\hyperlink{classns_shape_1_1_triangle_a745ce53bf673b56a23a30f732a041834}{getValues}}(\textcolor{keyword}{const} \textcolor{keywordtype}{int} \&\textcolor{keywordtype}{id}, std::vector<float> \&values) \textcolor{keyword}{override};}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00064}\mbox{\hyperlink{classns_shape_1_1_triangle_af1c6cb0d5d12d8df0bd66c46ec793b22}{00064}}     \textcolor{keyword}{virtual} \textcolor{keywordtype}{void} \mbox{\hyperlink{classns_shape_1_1_triangle_af1c6cb0d5d12d8df0bd66c46ec793b22}{setValues}}(\textcolor{keyword}{const} \textcolor{keywordtype}{int} \&\textcolor{keywordtype}{id}, \textcolor{keyword}{const} std::vector<float> \&values) \textcolor{keyword}{override};}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00065}00065 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00071}\mbox{\hyperlink{classns_shape_1_1_triangle_a828914e234103dd5efece0030bd6ea12}{00071}}     \mbox{\hyperlink{classns_shape_1_1_triangle}{Triangle}} \mbox{\hyperlink{classns_shape_1_1_triangle_a828914e234103dd5efece0030bd6ea12}{operator+}}(\textcolor{keyword}{const} \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}}\& position) \textcolor{keyword}{const};}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00072}00072 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00078}\mbox{\hyperlink{classns_shape_1_1_triangle_adf2b03fb750f4269ed8ebfd25b5cb665}{00078}}     \mbox{\hyperlink{classns_shape_1_1_triangle}{Triangle}} \mbox{\hyperlink{classns_shape_1_1_triangle_adf2b03fb750f4269ed8ebfd25b5cb665}{operator*}}(\textcolor{keyword}{const} \textcolor{keywordtype}{float}\& f) \textcolor{keyword}{const};}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00079}00079 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00084}\mbox{\hyperlink{classns_shape_1_1_triangle_ad82e289ac4c9fd8cc569b7a79771fc5f}{00084}}     \textcolor{keyword}{const} \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}}\& \mbox{\hyperlink{classns_shape_1_1_triangle_ad82e289ac4c9fd8cc569b7a79771fc5f}{getFirstPosition}}() \textcolor{keyword}{const};}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00085}00085 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00091}\mbox{\hyperlink{classns_shape_1_1_triangle_a9cbdb05c4f337961adccadf1aec48b1b}{00091}}     \textcolor{keywordtype}{void} \mbox{\hyperlink{classns_shape_1_1_triangle_a9cbdb05c4f337961adccadf1aec48b1b}{setFirstPosition}}(\textcolor{keyword}{const} \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}} \&firstPosition);}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00092}00092 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00097}\mbox{\hyperlink{classns_shape_1_1_triangle_a0222c889721e15942fde8719727da6ef}{00097}}     \textcolor{keyword}{const} \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}}\& \mbox{\hyperlink{classns_shape_1_1_triangle_a0222c889721e15942fde8719727da6ef}{getSecondPosition}}() \textcolor{keyword}{const};}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00098}00098 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00104}\mbox{\hyperlink{classns_shape_1_1_triangle_a18f911ec00c99e29eec695a49c2e051e}{00104}}     \textcolor{keywordtype}{void} \mbox{\hyperlink{classns_shape_1_1_triangle_a18f911ec00c99e29eec695a49c2e051e}{setSecondPosition}}(\textcolor{keyword}{const} \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}} \&secondPosition);}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00105}00105 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00110}\mbox{\hyperlink{classns_shape_1_1_triangle_a8ff04f062cf1dcb119f9e814ce8f943a}{00110}}     \textcolor{keyword}{const} \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}}\& \mbox{\hyperlink{classns_shape_1_1_triangle_a8ff04f062cf1dcb119f9e814ce8f943a}{getThirdPosition}}() \textcolor{keyword}{const};}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00111}00111 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00117}\mbox{\hyperlink{classns_shape_1_1_triangle_a7af3264cac9e8333ec5d7315bc931047}{00117}}     \textcolor{keywordtype}{void} \mbox{\hyperlink{classns_shape_1_1_triangle_a7af3264cac9e8333ec5d7315bc931047}{setThirdPosition}}(\textcolor{keyword}{const} \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}} \&thirdPosition);}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00118}00118 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00119}00119 \textcolor{keyword}{private}:}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00123}00123     \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}} m\_firstPosition;}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00124}00124 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00128}00128     \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}} m\_secondPosition;}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00129}00129 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00133}00133     \mbox{\hyperlink{classns_graphics_1_1_vec2_d}{nsGraphics::Vec2D}} m\_thirdPosition;}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00134}00134 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00135}00135 \}; \textcolor{comment}{// class Triangle}}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00136}00136 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00137}00137 \} \textcolor{comment}{// namespace nsShape}}
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00138}00138 }
\DoxyCodeLine{\Hypertarget{triangle_8h_source_l00139}00139 \textcolor{preprocessor}{\#endif }\textcolor{comment}{// TRIANGLE\_H}}

\end{DoxyCode}
