289 lines
		
	
	
		
			37 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			289 lines
		
	
	
		
			37 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version='1.0' encoding='iso-8859-1' standalone='no'?>
 | |
| <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.4.7">
 | |
|   <compounddef id="vector_8h" kind="file">
 | |
|     <compoundname>vector.h</compoundname>
 | |
|     <includes local="no">cmath</includes>
 | |
|     <includedby refid="camera_8h" local="yes">src/camera.h</includedby>
 | |
|     <includedby refid="window_8h" local="yes">src/window.h</includedby>
 | |
|     <includedby refid="geometry_8h" local="yes">src/geometry.h</includedby>
 | |
|     <includedby refid="level_8h" local="yes">src/level.h</includedby>
 | |
|     <includedby refid="main_8h" local="yes">src/main.h</includedby>
 | |
|     <includedby refid="vector_8cpp" local="yes">src/vector.cpp</includedby>
 | |
|     <incdepgraph>
 | |
|       <node id="626">
 | |
|         <label>cmath</label>
 | |
|       </node>
 | |
|       <node id="625">
 | |
|         <label>src/vector.h</label>
 | |
|         <link refid="vector.h"/>
 | |
|         <childnode refid="626" relation="include">
 | |
|         </childnode>
 | |
|       </node>
 | |
|     </incdepgraph>
 | |
|     <invincdepgraph>
 | |
|       <node id="643">
 | |
|         <label>src/mygl.cpp</label>
 | |
|         <link refid="mygl_8cpp"/>
 | |
|       </node>
 | |
|       <node id="647">
 | |
|         <label>src/PluginManager.cpp</label>
 | |
|         <link refid="_plugin_manager_8cpp"/>
 | |
|       </node>
 | |
|       <node id="649">
 | |
|         <label>src/window.cpp</label>
 | |
|         <link refid="window_8cpp"/>
 | |
|       </node>
 | |
|       <node id="646">
 | |
|         <label>src/NullVideoPlugin.cpp</label>
 | |
|         <link refid="_null_video_plugin_8cpp"/>
 | |
|       </node>
 | |
|       <node id="637">
 | |
|         <label>src/mygl.h</label>
 | |
|         <link refid="mygl_8h"/>
 | |
|         <childnode refid="628" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="638" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="641" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="632" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="643" relation="include">
 | |
|         </childnode>
 | |
|       </node>
 | |
|       <node id="645">
 | |
|         <label>src/NullVideoPlugin.h</label>
 | |
|         <link refid="_null_video_plugin_8h"/>
 | |
|         <childnode refid="646" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="647" relation="include">
 | |
|         </childnode>
 | |
|       </node>
 | |
|       <node id="650">
 | |
|         <label>src/vector.cpp</label>
 | |
|         <link refid="vector_8cpp"/>
 | |
|       </node>
 | |
|       <node id="635">
 | |
|         <label>src/player.cpp</label>
 | |
|         <link refid="player_8cpp"/>
 | |
|       </node>
 | |
|       <node id="630">
 | |
|         <label>src/level.h</label>
 | |
|         <link refid="level_8h"/>
 | |
|         <childnode refid="631" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="632" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="633" relation="include">
 | |
|         </childnode>
 | |
|       </node>
 | |
|       <node id="642">
 | |
|         <label>src/myglFont.cpp</label>
 | |
|         <link refid="mygl_font_8cpp"/>
 | |
|       </node>
 | |
|       <node id="638">
 | |
|         <label>src/myglTexture.h</label>
 | |
|         <link refid="mygl_texture_8h"/>
 | |
|         <childnode refid="639" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="630" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="640" relation="include">
 | |
|         </childnode>
 | |
|       </node>
 | |
|       <node id="634">
 | |
|         <label>src/player.h</label>
 | |
|         <link refid="player_8h"/>
 | |
|         <childnode refid="630" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="635" relation="include">
 | |
|         </childnode>
 | |
|       </node>
 | |
|       <node id="648">
 | |
|         <label>src/PluginManager.h</label>
 | |
|         <link refid="_plugin_manager_8h"/>
 | |
|         <childnode refid="647" relation="include">
 | |
|         </childnode>
 | |
|       </node>
 | |
|       <node id="627">
 | |
|         <label>src/vector.h</label>
 | |
|         <link refid="vector.h"/>
 | |
|         <childnode refid="628" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="636" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="639" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="630" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="632" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="650" relation="include">
 | |
|         </childnode>
 | |
|       </node>
 | |
|       <node id="631">
 | |
|         <label>src/level.cpp</label>
 | |
|         <link refid="level_8cpp"/>
 | |
|       </node>
 | |
|       <node id="636">
 | |
|         <label>src/window.h</label>
 | |
|         <link refid="window_8h"/>
 | |
|         <childnode refid="637" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="632" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="644" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="649" relation="include">
 | |
|         </childnode>
 | |
|       </node>
 | |
|       <node id="632">
 | |
|         <label>src/main.h</label>
 | |
|         <link refid="main_8h"/>
 | |
|       </node>
 | |
|       <node id="628">
 | |
|         <label>src/camera.h</label>
 | |
|         <link refid="camera_8h"/>
 | |
|         <childnode refid="629" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="630" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="634" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="632" relation="include">
 | |
|         </childnode>
 | |
|       </node>
 | |
|       <node id="641">
 | |
|         <label>src/myglFont.h</label>
 | |
|         <link refid="mygl_font_8h"/>
 | |
|         <childnode refid="630" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="642" relation="include">
 | |
|         </childnode>
 | |
|       </node>
 | |
|       <node id="639">
 | |
|         <label>src/geometry.h</label>
 | |
|         <link refid="geometry_8h"/>
 | |
|         <childnode refid="630" relation="include">
 | |
|         </childnode>
 | |
|       </node>
 | |
|       <node id="633">
 | |
|         <label>src/worlddefs.h</label>
 | |
|         <link refid="worlddefs_8h"/>
 | |
|         <childnode refid="632" relation="include">
 | |
|         </childnode>
 | |
|       </node>
 | |
|       <node id="640">
 | |
|         <label>src/myglTexture.cpp</label>
 | |
|         <link refid="mygl_texture_8cpp"/>
 | |
|       </node>
 | |
|       <node id="644">
 | |
|         <label>src/VideoPlugin.h</label>
 | |
|         <link refid="_video_plugin_8h"/>
 | |
|         <childnode refid="645" relation="include">
 | |
|         </childnode>
 | |
|         <childnode refid="648" relation="include">
 | |
|         </childnode>
 | |
|       </node>
 | |
|       <node id="629">
 | |
|         <label>src/camera.cpp</label>
 | |
|         <link refid="camera_8cpp"/>
 | |
|       </node>
 | |
|     </invincdepgraph>
 | |
|     <innerclass refid="class_open_arena_1_1_vec3d" prot="public">OpenArena::Vec3d</innerclass>
 | |
|     <innerclass refid="class_open_arena_1_1_vec2f" prot="public">OpenArena::Vec2f</innerclass>
 | |
|     <innerclass refid="class_open_arena_1_1_vec2i" prot="public">OpenArena::Vec2i</innerclass>
 | |
|     <innernamespace refid="namespace_open_arena">OpenArena</innernamespace>
 | |
|     <briefdescription>
 | |
|     </briefdescription>
 | |
|     <detaileddescription>
 | |
|     </detaileddescription>
 | |
|     <programlisting>
 | |
| <codeline lineno="1"><highlight class="preprocessor">#ifndef<sp/>__vector_h__</highlight></codeline>
 | |
| <codeline lineno="2"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>__vector_h__</highlight></codeline>
 | |
| <codeline lineno="3"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
 | |
| <codeline lineno="4"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><cmath></highlight><highlight class="normal"></highlight></codeline>
 | |
| <codeline lineno="5"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">OpenArena{</highlight></codeline>
 | |
| <codeline lineno="18" refid="class_open_arena_1_1_vec3d" refkind="compound"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="class_open_arena_1_1_vec3d" kindref="compound">Vec3d</ref></highlight></codeline>
 | |
| <codeline lineno="19"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
 | |
| <codeline lineno="20"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
 | |
| <codeline lineno="21"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec3d_15b2f892451ae79fb3ae6aff9aeee1bb7" kindref="member">x</ref>,<ref refid="class_open_arena_1_1_vec3d_1ca9e575bbf1acfe952a609111ee8f4f8" kindref="member">y</ref>,<ref refid="class_open_arena_1_1_vec3d_16f0f64b7f7c4db99151e6413f34a704a" kindref="member">z</ref>;</highlight></codeline>
 | |
| <codeline lineno="37"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec3d_14c280d3d8fb12e12d84c0a55beb58553" kindref="member">Vec3d</ref>();<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Default<sp/>Constructor</highlight></codeline>
 | |
| <codeline lineno="56"><highlight class="comment"></highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec3d_14c280d3d8fb12e12d84c0a55beb58553" kindref="member">Vec3d</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec3d" kindref="compound">Vec3d</ref>&);<sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Copy<sp/>Constructor</highlight></codeline>
 | |
| <codeline lineno="78"><highlight class="comment"></highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec3d_14c280d3d8fb12e12d84c0a55beb58553" kindref="member">Vec3d</ref>(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal">);<sp/><sp/></highlight><highlight class="comment">//From<sp/>an<sp/>angle</highlight></codeline>
 | |
| <codeline lineno="103"><highlight class="comment"></highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec3d_14c280d3d8fb12e12d84c0a55beb58553" kindref="member">Vec3d</ref>(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal">);<sp/><sp/></highlight><highlight class="comment">//From<sp/>values</highlight></codeline>
 | |
| <codeline lineno="122"><highlight class="comment"></highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec3d_1517ba1a1ab14e149455605fb5d83ac2b" kindref="member">lengthsquared</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="141"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec3d_1d0f6fefc97a1c4f65c6b770399e7550b" kindref="member">length</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="157"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec3d_13e2e5e656a6a1640524af315478f0eae" kindref="member">normalize</ref>();</highlight></codeline>
 | |
| <codeline lineno="176"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec3d" kindref="compound">Vec3d</ref><sp/><ref refid="class_open_arena_1_1_vec3d_149cdea25e2bc16694f5d193899dda1a3" kindref="member">normalized</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="177"><highlight class="normal"></highlight></codeline>
 | |
| <codeline lineno="199"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec3d" kindref="compound">Vec3d</ref><sp/><ref refid="class_open_arena_1_1_vec3d_13ef1ca508683012bdfa03483c590bfe4" kindref="member">cross</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec3d" kindref="compound">Vec3d</ref>&)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="218"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><sp/><ref refid="class_open_arena_1_1_vec3d_16c4e0c9d1a999cc9de152343a1348d00" kindref="member">operator=</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec3d" kindref="compound">Vec3d</ref>&);</highlight></codeline>
 | |
| <codeline lineno="240"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec3d" kindref="compound">Vec3d</ref><sp/><ref refid="class_open_arena_1_1_vec3d_1d1d9ec29466d7df12903f622c603f7b0" kindref="member">operator*</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec3d" kindref="compound">Vec3d</ref>&)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="262"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec3d" kindref="compound">Vec3d</ref><sp/><ref refid="class_open_arena_1_1_vec3d_1474b425b1b200c284ff9e82502d81bfa" kindref="member">operator+</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec3d" kindref="compound">Vec3d</ref>&)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="284"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec3d" kindref="compound">Vec3d</ref><sp/><ref refid="class_open_arena_1_1_vec3d_140b233280f53fb3302453d20acde1ba0" kindref="member">operator-</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec3d" kindref="compound">Vec3d</ref>&)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="306"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec3d" kindref="compound">Vec3d</ref><sp/><ref refid="class_open_arena_1_1_vec3d_1d1d9ec29466d7df12903f622c603f7b0" kindref="member">operator*</ref>(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="328"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec3d" kindref="compound">Vec3d</ref><sp/><ref refid="class_open_arena_1_1_vec3d_17709433d0f8b3c70a6e950807711cc36" kindref="member">operator/</ref>(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="329"><highlight class="normal"></highlight></codeline>
 | |
| <codeline lineno="330"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>};</highlight></codeline>
 | |
| <codeline lineno="331"><highlight class="normal"></highlight></codeline>
 | |
| <codeline lineno="356"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec3d" kindref="compound">Vec3d</ref><sp/><ref refid="namespace_open_arena_18d000e4705425c8b35973071ddbe2fa9" kindref="member">Vector</ref>(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal">);</highlight></codeline>
 | |
| <codeline lineno="357"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Vec3d<sp/>Angle2Vec3f()</highlight></codeline>
 | |
| <codeline lineno="370" refid="class_open_arena_1_1_vec2f" refkind="compound"><highlight class="comment"></highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="class_open_arena_1_1_vec2f" kindref="compound">Vec2f</ref><sp/></highlight></codeline>
 | |
| <codeline lineno="371"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
 | |
| <codeline lineno="372"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
 | |
| <codeline lineno="373"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">float</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2f_1d24b019e1d5cc39b341296eeff399b35" kindref="member">x</ref>,<ref refid="class_open_arena_1_1_vec2f_1a2cfda0285a249dbdd2977f2a68aa1a8" kindref="member">y</ref>;</highlight></codeline>
 | |
| <codeline lineno="389"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2f_13c9f9bb1b5a44a43bd8e405e334bf6eb" kindref="member">Vec2f</ref>();<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Default<sp/>Constructor</highlight></codeline>
 | |
| <codeline lineno="408"><highlight class="comment"></highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2f_13c9f9bb1b5a44a43bd8e405e334bf6eb" kindref="member">Vec2f</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2f" kindref="compound">Vec2f</ref>&);<sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Copy<sp/>Constructor</highlight></codeline>
 | |
| <codeline lineno="427"><highlight class="comment"></highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2f_13c9f9bb1b5a44a43bd8e405e334bf6eb" kindref="member">Vec2f</ref>(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal">);<sp/><sp/></highlight><highlight class="comment">//<sp/>from<sp/>an<sp/>angle</highlight></codeline>
 | |
| <codeline lineno="449"><highlight class="comment"></highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2f_13c9f9bb1b5a44a43bd8e405e334bf6eb" kindref="member">Vec2f</ref>(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal">,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal">);<sp/><sp/></highlight><highlight class="comment">//from<sp/>values</highlight><highlight class="normal"></highlight></codeline>
 | |
| <codeline lineno="450"><highlight class="normal"></highlight></codeline>
 | |
| <codeline lineno="469"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2f_17a6a57e352f1e719f2fcd43e9502ec24" kindref="member">lengthsquared</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="488"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2f_100bdd73763bab43e4d566b7e6bba2d35" kindref="member">length</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="489"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2f_17af96f273a8fd438740633bfa434aa1f" kindref="member">normalize</ref>();</highlight></codeline>
 | |
| <codeline lineno="508"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2f" kindref="compound">Vec2f</ref><sp/><ref refid="class_open_arena_1_1_vec2f_169b3eae645ee750e532df9fa7774728c" kindref="member">normalized</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="509"><highlight class="normal"></highlight></codeline>
 | |
| <codeline lineno="531"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2f" kindref="compound">Vec2f</ref><sp/><ref refid="class_open_arena_1_1_vec2f_13cc413ca0b5f6bcbf741047decd2f873" kindref="member">cross</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2f" kindref="compound">Vec2f</ref>&)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="553"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2f" kindref="compound">Vec2f</ref><sp/><ref refid="class_open_arena_1_1_vec2f_17832dd37d6d3dbe9a655128e95c153d3" kindref="member">operator=</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2f" kindref="compound">Vec2f</ref>&);</highlight></codeline>
 | |
| <codeline lineno="575"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2f" kindref="compound">Vec2f</ref><sp/><ref refid="class_open_arena_1_1_vec2f_1bcc7f052869c8507bfc0fdde23b6af8c" kindref="member">operator*</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2f" kindref="compound">Vec2f</ref>&)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="597"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2f" kindref="compound">Vec2f</ref><sp/><ref refid="class_open_arena_1_1_vec2f_19c60084e76656b4ccda657b3608bd269" kindref="member">operator+</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2f" kindref="compound">Vec2f</ref>&)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="619"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2f" kindref="compound">Vec2f</ref><sp/><ref refid="class_open_arena_1_1_vec2f_134533fb92d780a465616aa9372144ea4" kindref="member">operator-</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2f" kindref="compound">Vec2f</ref>&)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="620"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Vec2f<sp/>operator/(const<sp/>Vec2f&)<sp/>const;<sp/><sp/>//Is<sp/>this<sp/>right?</highlight></codeline>
 | |
| <codeline lineno="642"><highlight class="comment"></highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2f" kindref="compound">Vec2f</ref><sp/><ref refid="class_open_arena_1_1_vec2f_1bcc7f052869c8507bfc0fdde23b6af8c" kindref="member">operator*</ref>(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="664"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2f" kindref="compound">Vec2f</ref><sp/><ref refid="class_open_arena_1_1_vec2f_1f421dc21f7632f5fdb4fa3b6b0dca108" kindref="member">operator/</ref>(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="665"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>};</highlight></codeline>
 | |
| <codeline lineno="666"><highlight class="normal"></highlight></codeline>
 | |
| <codeline lineno="667"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec3d" kindref="compound">Vec3d</ref><sp/><ref refid="class_open_arena_1_1_vec3d" kindref="compound">Vec3f</ref>;</highlight></codeline>
 | |
| <codeline lineno="668"><highlight class="normal"></highlight></codeline>
 | |
| <codeline lineno="681" refid="class_open_arena_1_1_vec2i" refkind="compound"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="class_open_arena_1_1_vec2i" kindref="compound">Vec2i</ref></highlight></codeline>
 | |
| <codeline lineno="682"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline>
 | |
| <codeline lineno="683"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
 | |
| <codeline lineno="684"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2i_1ea11b9e46216ef31073acb41e5116285" kindref="member">x</ref>,<ref refid="class_open_arena_1_1_vec2i_1e1d43bf652fbb7a47c421345902158aa" kindref="member">y</ref>;</highlight></codeline>
 | |
| <codeline lineno="700"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2i_1c8e897797291baa62b609b236fdd080f" kindref="member">Vec2i</ref>();<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Default<sp/>Constructor</highlight></codeline>
 | |
| <codeline lineno="737"><highlight class="comment"></highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2i_1c8e897797291baa62b609b236fdd080f" kindref="member">Vec2i</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2i" kindref="compound">Vec2i</ref>&);<sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Copy<sp/>Constructor</highlight><highlight class="normal"></highlight></codeline>
 | |
| <codeline lineno="738"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2i_1c8e897797291baa62b609b236fdd080f" kindref="member">Vec2i</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">);<sp/><sp/></highlight><highlight class="comment">//<sp/>from<sp/>an<sp/>angle</highlight></codeline>
 | |
| <codeline lineno="760"><highlight class="comment"></highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2i_1c8e897797291baa62b609b236fdd080f" kindref="member">Vec2i</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">);<sp/></highlight><highlight class="comment">//from<sp/>values</highlight><highlight class="normal"></highlight></codeline>
 | |
| <codeline lineno="761"><highlight class="normal"></highlight></codeline>
 | |
| <codeline lineno="780"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2i_1843e1346026fe48e331a98330be8a707" kindref="member">lengthsquared</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="799"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2i_1d990e17463a0b67d5f65113464c9062d" kindref="member">length</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="815"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2i_1ad31cb1652ca3974be38d27e572964e4" kindref="member">normalize</ref>();</highlight></codeline>
 | |
| <codeline lineno="834"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2i" kindref="compound">Vec2i</ref><sp/><ref refid="class_open_arena_1_1_vec2i_1b77e6219666df2f0839151c96f12288b" kindref="member">normalized</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="835"><highlight class="normal"></highlight></codeline>
 | |
| <codeline lineno="857"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2i" kindref="compound">Vec2i</ref><sp/><ref refid="class_open_arena_1_1_vec2i_1753639bdb528394d1ebbdb03567a468f" kindref="member">cross</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2i" kindref="compound">Vec2i</ref>&)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="879"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2i" kindref="compound">Vec2i</ref><sp/><ref refid="class_open_arena_1_1_vec2i_1bfb1f667105f18cbfdff78f87ded3af9" kindref="member">operator=</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2i" kindref="compound">Vec2i</ref>&);</highlight></codeline>
 | |
| <codeline lineno="901"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2i" kindref="compound">Vec2i</ref><sp/><ref refid="class_open_arena_1_1_vec2i_1b96bbf1647ac82b3e883c90912fb29e2" kindref="member">operator*</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2i" kindref="compound">Vec2i</ref>&)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="923"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2i" kindref="compound">Vec2i</ref><sp/><ref refid="class_open_arena_1_1_vec2i_112a40973447d1028734288254aa3b3e6" kindref="member">operator+</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2i" kindref="compound">Vec2i</ref>&)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="945"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2i" kindref="compound">Vec2i</ref><sp/><ref refid="class_open_arena_1_1_vec2i_1aa19fa47e1a128f574e120e75a4e1987" kindref="member">operator-</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2i" kindref="compound">Vec2i</ref>&)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="946"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//Vec2i<sp/>operator/(const<sp/>Vec2i&)<sp/>const;<sp/><sp/>//Is<sp/>this<sp/>right?</highlight></codeline>
 | |
| <codeline lineno="968"><highlight class="comment"></highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2i" kindref="compound">Vec2i</ref><sp/><ref refid="class_open_arena_1_1_vec2i_1b96bbf1647ac82b3e883c90912fb29e2" kindref="member">operator*</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="990"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="class_open_arena_1_1_vec2i" kindref="compound">Vec2i</ref><sp/><ref refid="class_open_arena_1_1_vec2i_19be930aa720f557a108e1044e17a3c31" kindref="member">operator/</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal">)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="1012"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2i_1d3fa3fec463016035c359e599cc275a8" kindref="member">operator==</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2i" kindref="compound">Vec2i</ref>&)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="1034"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2i_167ebc613fb2ce0efc47775ff89047162" kindref="member">operator!=</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="class_open_arena_1_1_vec2i" kindref="compound">Vec2i</ref>&)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
 | |
| <codeline lineno="1035"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>};</highlight></codeline>
 | |
| <codeline lineno="1036"><highlight class="normal">};</highlight></codeline>
 | |
| <codeline lineno="1037"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight></codeline>
 | |
|     </programlisting>
 | |
|     <location file="/Users/tomhicks/Documents/workspaces/OpenArena/openarena/src/vector.h"/>
 | |
|   </compounddef>
 | |
| </doxygen>
 |