291 lines
54 KiB
HTML
291 lines
54 KiB
HTML
<!-- HTML header for doxygen 1.10.0-->
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.13.2"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>Mario Kart 64: src/math_util_2.h Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<script type="text/javascript" src="clipboard.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="cookie.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
|
<link href="doxygen-awesome-sidebar-only.css" rel="stylesheet" type="text/css"/>
|
|
<link href="doxygen-awesome-sidebar-only-darkmode-toggle.css" rel="stylesheet" type="text/css"/>
|
|
<link href="docs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="doxygen-awesome-darkmode-toggle.js"></script>
|
|
<script type="text/javascript">
|
|
DoxygenAwesomeDarkModeToggle.init()
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">Mario Kart 64
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.13.2 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() { codefold.init(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search',true);
|
|
$(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function(){initNavTree('math__util__2_8h_source.html',''); initResizable(true); });
|
|
/* @license-end */
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">math_util_2.h</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="math__util__2_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef MATH_UTIL_2_H</span></div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define MATH_UTIL_2_H</span></div>
|
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include <libultraship.h></span></div>
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include <<a class="code" href="common__structs_8h.html">common_structs.h</a>></span></div>
|
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include "<a class="code" href="camera_8h.html">camera.h</a>"</span></div>
|
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span> </div>
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="keyword">extern</span> <a class="code hl_typedef" href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a>* <a class="code hl_variable" href="math__util__2_8c.html#a955fb252b16c035884bae06080e13a2e">gInterpolationMatrix</a>;</div>
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div>
|
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment">/* Function Prototypes */</span></div>
|
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> </div>
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment">// Unused functions</span></div>
|
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a18c79af15b4b6c796d3bcfe714d5e1a0">operator_or</a>(s32*, s32);</div>
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a898fe9b8a64f984d86b3d57239287a68">operator_and_not</a>(s32*, s32);</div>
|
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a616f40d23cc329cdffcbe5fcf6cee747">operator_xor</a>(s32*, s32);</div>
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="keywordtype">bool</span> <a class="code hl_function" href="math__util__2_8h.html#a37ea9961b422d8530750888cd770a14f">func_80040E84</a>(s32*, s32); <span class="comment">// UNUSED</span></div>
|
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span>s32 <a class="code hl_function" href="math__util__2_8h.html#a1ec20afa46ac386e0685239f41ea6c94">func_80040EA4</a>(s32*, s32);</div>
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span>s32 <a class="code hl_function" href="math__util__2_8h.html#a2d70705878c2c7715694ec14ea1912a5">f32_step_up_towards_alternate</a>(f32*, f32, f32*);</div>
|
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span>s32 <a class="code hl_function" href="math__util__2_8h.html#a66052313bcfde0d6781810162ab0fa2f">f32_step_down_towards_alternate</a>(f32*, f32, f32*);</div>
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span>s32 <a class="code hl_function" href="math__util__2_8h.html#a29245a647b1c0272fcd1d028721f7fbc">s32_step_up_towards_alternate</a>(s32*, s32, s32*);</div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span>s32 <a class="code hl_function" href="math__util__2_8h.html#ac02ca5a7638356175eb5cd199942dd1f">s32_step_down_towards_alternate</a>(s32*, s32, s32*);</div>
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span>s32 <a class="code hl_function" href="math__util__2_8h.html#a410160c1ab5150fe978d3f4f2dd3f545">s16_step_up_towards_alternate</a>(s16*, s16, s16*);</div>
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span>s32 <a class="code hl_function" href="math__util__2_8h.html#aafd88bd095d4db4e2ad834bbbc1c7bac">s16_step_down_towards_alternate</a>(s16*, s16, s16*);</div>
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span>s32 <a class="code hl_function" href="math__util__2_8h.html#a47b8282d28096f95fdd2d4cc4ce0e632">s32_step_towards</a>(s32*, s32, s32);</div>
|
|
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span>s32 <a class="code hl_function" href="math__util__2_8h.html#a75bfb5b9c5e3191aaf80542caf2aa42a">is_within_distance_2d</a>(f32, f32, f32, f32, f32);</div>
|
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span>s32 <a class="code hl_function" href="math__util__2_8h.html#a34d61ee823586951bd5f565affccb663">func_80041680</a>(f32, f32);</div>
|
|
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span>s32 <a class="code hl_function" href="math__util__2_8h.html#aa7bb33d0cf35fac65c8639b76a4fb2ed">func_800416AC</a>(f32, f32);</div>
|
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a4036da3720229e9354528af8354ea415">func_80041F54</a>(s32, s32);</div>
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#aff1e01bdf354a1f632c8737a76690c4e">func_80042000</a>(u16);</div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a01192b17176470c467ef4783f26d8706">func_800420A8</a>(f32);</div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a28fb1f64c1864bda75ea930382e61553">func_8004214C</a>(u16, f32);</div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a49bc773b4441dc804de728baecdb120f">func_800421FC</a>(s32, s32, f32);</div>
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a2f4dc8f37b762eb5b81c8a91ad41b9c6">func_800423F0</a>(<a class="code hl_typedef" href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a>, u16, u16, u16);</div>
|
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#af24cd139f7cde4fa245d4c872d40e6a5">func_8004252C</a>(<a class="code hl_typedef" href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a>, u16, u16);</div>
|
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a8831e399c95acebb71a9bd97c7de09dd">mtxf_mult_first_column</a>(<a class="code hl_typedef" href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a>, f32);</div>
|
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a524a45d0980a20bc50c2b4033c99f561">mtxf_mult_second_column</a>(<a class="code hl_typedef" href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a>, f32);</div>
|
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a7ae92ff6cd417f23d4dcca06468abad7">mtxf_mult_third_column</a>(<a class="code hl_typedef" href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a>, f32);</div>
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a3e33711c2fe0592a76c1cd096814e879">vec3f_rotate</a>(<a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>, <a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>, <a class="code hl_typedef" href="common__structs_8h.html#a95eb48a2f3630571bea260858dd23e92">Vec3s</a>);</div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#ae15bc6ce6fee54c5f799fb71393c1b46">rsp_set_matrix_diff_translation_scale</a>(<a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>, <a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>, f32);</div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> </div>
|
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a184ce3c4b0be57ed245d5d8aa478c55d">vec3f_copy</a>(<a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>, <a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>);</div>
|
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span>s32 <a class="code hl_function" href="math__util__2_8h.html#a0c7b2f2e3d9e55efeffe3fbb03ea0f0f">f32_step_up_towards</a>(f32*, f32, f32);</div>
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span>s32 <a class="code hl_function" href="math__util__2_8h.html#ab2183a20811f82f73822f72f7e5820e7">f32_step_down_towards</a>(f32*, f32, f32);</div>
|
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span>s32 <a class="code hl_function" href="math__util__2_8h.html#aab8f8e72052565d8662dc76eec5f7ab7">s32_step_up_towards</a>(s32*, s32, s32);</div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span>s32 <a class="code hl_function" href="math__util__2_8h.html#a52e44abc78d7c2e11299ec71aede2905">s32_step_down_towards</a>(s32*, s32, s32);</div>
|
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span>s32 <a class="code hl_function" href="math__util__2_8h.html#a5e7c494f76605c62b0861ec461ee3f28">s16_step_up_towards</a>(s16*, s16, s16);</div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span>s32 <a class="code hl_function" href="math__util__2_8h.html#a7c43b4c4dff1ad4729852bf68855535d">u16_step_up_towards</a>(u16*, u16, u16);</div>
|
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span>s32 <a class="code hl_function" href="math__util__2_8h.html#a0338189c9d921df97107d76d588a4fc0">s16_step_down_towards</a>(s16*, s16, s16);</div>
|
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span>s32 <a class="code hl_function" href="math__util__2_8h.html#aca41c87b03119401300c019622c87031">u16_step_down_towards</a>(u16*, s32, s32);</div>
|
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span>s32 <a class="code hl_function" href="math__util__2_8h.html#a679de4d82fcefa320278cd247a5f8d42">s16_step_towards</a>(s16*, s16, s16);</div>
|
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span>s32 <a class="code hl_function" href="math__util__2_8h.html#afb9b5f8428228ee21731d66647fa02a2">f32_step_towards</a>(f32*, f32, f32);</div>
|
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>* <a class="code hl_function" href="math__util__2_8h.html#a4b953a94f2d7c337e50ae44776b4f5be">vec3f_set_xyz</a>(<a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>, f32, f32, f32);</div>
|
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span><a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>* <a class="code hl_function" href="math__util__2_8h.html#ad692d06c2c62cfc4e1b91e03cc0acf00">vec3f_normalize</a>(<a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a> dest);</div>
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span><a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>* <a class="code hl_function" href="math__util__2_8h.html#a3d04ad1c09ccf355292d4044a3f0e0cb">vec3f_cross_product</a>(<a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>, <a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>, <a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>);</div>
|
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span>s32 <a class="code hl_function" href="math__util__2_8h.html#aa1d15cc35b128e0b76f6b970acfd3cab">func_80041658</a>(f32, f32);</div>
|
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span>f32 <a class="code hl_function" href="math__util__2_8h.html#a755fb5deda8e5f14ec98ac8b05eca62e">func_800416D8</a>(f32 x, f32 z, u16 angle);</div>
|
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span>f32 <a class="code hl_function" href="math__util__2_8h.html#a7c8faeecd6f346dbd257669e248aace6">func_80041724</a>(f32, f32, u16);</div>
|
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span>s32 <a class="code hl_function" href="math__util__2_8h.html#a3b2d9ee1212855f3716d21fee5ebeca6">get_angle_between_xy</a>(f32, f32, f32, f32);</div>
|
|
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span>u16 <a class="code hl_function" href="math__util__2_8h.html#a4999314c8eabb1ef91570d9b3150e3e1">func_800417B4</a>(u16, u16);</div>
|
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span>s32 <a class="code hl_function" href="math__util__2_8h.html#a58912afce95e46e3ff226257c1f50bc2">func_800418AC</a>(f32, f32, <a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>);</div>
|
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span>s32 <a class="code hl_function" href="math__util__2_8h.html#a3cd04b1ba067544946d7dafefc98544d">func_800418E8</a>(f32, f32, <a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>);</div>
|
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span>s32 <a class="code hl_function" href="math__util__2_8h.html#a4a448a988092a947dad10c487738775d">func_80041924</a>(<a class="code hl_struct" href="structCollision.html">Collision</a>*, <a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>);</div>
|
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span><span class="keywordtype">bool</span> <a class="code hl_function" href="math__util__2_8h.html#aff7db609d130af578032ce82437d4567">is_particle_on_screen</a>(<a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>, <a class="code hl_struct" href="structCamera.html">Camera</a>*, u16);</div>
|
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#af9195037e8bc4ee55b0f1b9a2d2768f6">func_800419F8</a>(<span class="keywordtype">void</span>);</div>
|
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a25e17579d158730f22b32a33b92d85b8">mtfx_translation_x_y</a>(<a class="code hl_typedef" href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a>, s32, s32);</div>
|
|
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#aa591aad9e2b23d12823190e5da57a8b5">mtxf_u16_rotate_z</a>(<a class="code hl_typedef" href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a>, u16);</div>
|
|
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a4dada7d63face8c5f55e00b855a332ea">mtxf_scale_x_y</a>(<a class="code hl_typedef" href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a>, f32);</div>
|
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a085e9faec5b19072c4b34af84d04a50f">mtxf_rotate_z_scale_x_y</a>(<a class="code hl_typedef" href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a>, u16, f32);</div>
|
|
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#ae61c678b4cb30631beb8b1c084f053e2">mtxf_translation_x_y_rotate_z_scale_x_y</a>(<a class="code hl_typedef" href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a>, s32, s32, u16, f32);</div>
|
|
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a24c65c42a01d253920dc8ac596a3f93b">func_80041D24</a>(<span class="keywordtype">void</span>);</div>
|
|
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#ae43d750d31e45ae2a51b6ca6d87d1570">func_80041D34</a>(<span class="keywordtype">void</span>);</div>
|
|
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#aa0f56371081de86dcbb5ed53fd24292f">set_matrix_hud_screen</a>(<span class="keywordtype">void</span>);</div>
|
|
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#ac9379d5f612b4b31cfc268aa7501e303">func_80042330</a>(s32, s32, u16, f32);</div>
|
|
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#ae4327c5df49b333e448da750f14387ce">func_80042330_unchanged</a>(s32 x, s32 y, u16 angle, f32 scale);</div>
|
|
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a3b8a4e7411829eec9d307da607e8602f">func_80042330_portrait</a>(s32, s32, u16, f32, s16);</div>
|
|
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a17f31dc41ff4475f6193c13982aebf17">func_80042330_wide</a>(s32, s32, u16, f32);</div>
|
|
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a30981b9b507ba557889f16efd8bf1c4a">mtxf_set_matrix_transformation</a>(<a class="code hl_typedef" href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a>, <a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>, <a class="code hl_typedef" href="common__structs_8h.html#a8cbf328ed34b2520a6f97cee9677c063">Vec3su</a>, f32);</div>
|
|
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a264bb9e873c7f918b29757c0c4bdb234">mtxf_set_matrix_scale_transl</a>(<a class="code hl_typedef" href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a>, <a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>, <a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>, f32);</div>
|
|
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span>s32 <a class="code hl_function" href="math__util__2_8h.html#a187d4cf81af53493bf73c66897d2fbab">mtxf_set_matrix_gObjectList</a>(s32, <a class="code hl_typedef" href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a>);</div>
|
|
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#aae502d60ed48e002c9bf17890477aebc">set_transform_matrix</a>(<a class="code hl_typedef" href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a> dest, <a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a> orientationVector, <a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a> positionVector, u16 rotationAngle,</div>
|
|
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> f32 scaleFactor);</div>
|
|
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#ab8970a807bac4d0a4b4d396f7626d65f">vec3f_rotate_x_y</a>(<a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>, <a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>, <a class="code hl_typedef" href="common__structs_8h.html#a95eb48a2f3630571bea260858dd23e92">Vec3s</a>);</div>
|
|
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#aee56cd5056c8add4c6834233bc79675e">rsp_set_matrix_transformation</a>(<a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>, <a class="code hl_typedef" href="common__structs_8h.html#a8cbf328ed34b2520a6f97cee9677c063">Vec3su</a>, f32);</div>
|
|
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a9ba5841b330eacbd0c790eacb5190d13">rsp_set_matrix_transformation_inverted_x_y_orientation</a>(<a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>, <a class="code hl_typedef" href="common__structs_8h.html#a8cbf328ed34b2520a6f97cee9677c063">Vec3su</a>, f32);</div>
|
|
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a60afc0e0793ab6ea8836623001048873">rsp_set_matrix_transl_rot_scale</a>(<a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>, <a class="code hl_typedef" href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a>, f32);</div>
|
|
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span><span class="keywordtype">void</span> <a class="code hl_function" href="math__util__2_8h.html#a73a14e50dd3e7844fac7d576f0c8adb9">rsp_set_matrix_gObjectList</a>(s32);</div>
|
|
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> </div>
|
|
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span><span class="preprocessor">#endif </span><span class="comment">// MATH_UTIL_2_H</span></div>
|
|
<div class="ttc" id="acamera_8h_html"><div class="ttname"><a href="camera_8h.html">camera.h</a></div></div>
|
|
<div class="ttc" id="acommon__structs_8h_html"><div class="ttname"><a href="common__structs_8h.html">common_structs.h</a></div></div>
|
|
<div class="ttc" id="acommon__structs_8h_html_a5290523279339ea495248ab3a36cb46e"><div class="ttname"><a href="common__structs_8h.html#a5290523279339ea495248ab3a36cb46e">Vec3f</a></div><div class="ttdeci">f32 Vec3f[3]</div><div class="ttdef"><b>Definition</b> common_structs.h:10</div></div>
|
|
<div class="ttc" id="acommon__structs_8h_html_a8cbf328ed34b2520a6f97cee9677c063"><div class="ttname"><a href="common__structs_8h.html#a8cbf328ed34b2520a6f97cee9677c063">Vec3su</a></div><div class="ttdeci">u16 Vec3su[3]</div><div class="ttdef"><b>Definition</b> common_structs.h:16</div></div>
|
|
<div class="ttc" id="acommon__structs_8h_html_a95eb48a2f3630571bea260858dd23e92"><div class="ttname"><a href="common__structs_8h.html#a95eb48a2f3630571bea260858dd23e92">Vec3s</a></div><div class="ttdeci">s16 Vec3s[3]</div><div class="ttdef"><b>Definition</b> common_structs.h:15</div></div>
|
|
<div class="ttc" id="acommon__structs_8h_html_ab7160f77e736961cfa2aff581aeee005"><div class="ttname"><a href="common__structs_8h.html#ab7160f77e736961cfa2aff581aeee005">Mat4</a></div><div class="ttdeci">f32 Mat4[4][4]</div><div class="ttdef"><b>Definition</b> common_structs.h:20</div></div>
|
|
<div class="ttc" id="amath__util__2_8c_html_a955fb252b16c035884bae06080e13a2e"><div class="ttname"><a href="math__util__2_8c.html#a955fb252b16c035884bae06080e13a2e">gInterpolationMatrix</a></div><div class="ttdeci">Mat4 * gInterpolationMatrix</div><div class="ttdef"><b>Definition</b> math_util_2.c:23</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a01192b17176470c467ef4783f26d8706"><div class="ttname"><a href="math__util__2_8h.html#a01192b17176470c467ef4783f26d8706">func_800420A8</a></div><div class="ttdeci">void func_800420A8(f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:657</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a0338189c9d921df97107d76d588a4fc0"><div class="ttname"><a href="math__util__2_8h.html#a0338189c9d921df97107d76d588a4fc0">s16_step_down_towards</a></div><div class="ttdeci">s32 s16_step_down_towards(s16 *, s16, s16)</div><div class="ttdef"><b>Definition</b> math_util_2.c:143</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a085e9faec5b19072c4b34af84d04a50f"><div class="ttname"><a href="math__util__2_8h.html#a085e9faec5b19072c4b34af84d04a50f">mtxf_rotate_z_scale_x_y</a></div><div class="ttdeci">void mtxf_rotate_z_scale_x_y(Mat4, u16, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:548</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a0c7b2f2e3d9e55efeffe3fbb03ea0f0f"><div class="ttname"><a href="math__util__2_8h.html#a0c7b2f2e3d9e55efeffe3fbb03ea0f0f">f32_step_up_towards</a></div><div class="ttdeci">s32 f32_step_up_towards(f32 *, f32, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:63</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a17f31dc41ff4475f6193c13982aebf17"><div class="ttname"><a href="math__util__2_8h.html#a17f31dc41ff4475f6193c13982aebf17">func_80042330_wide</a></div><div class="ttdeci">void func_80042330_wide(s32, s32, u16, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:745</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a184ce3c4b0be57ed245d5d8aa478c55d"><div class="ttname"><a href="math__util__2_8h.html#a184ce3c4b0be57ed245d5d8aa478c55d">vec3f_copy</a></div><div class="ttdeci">void vec3f_copy(Vec3f, Vec3f)</div><div class="ttdef"><b>Definition</b> math_util_2.c:57</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a187d4cf81af53493bf73c66897d2fbab"><div class="ttname"><a href="math__util__2_8h.html#a187d4cf81af53493bf73c66897d2fbab">mtxf_set_matrix_gObjectList</a></div><div class="ttdeci">s32 mtxf_set_matrix_gObjectList(s32, Mat4)</div><div class="ttdef"><b>Definition</b> math_util_2.c:873</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a18c79af15b4b6c796d3bcfe714d5e1a0"><div class="ttname"><a href="math__util__2_8h.html#a18c79af15b4b6c796d3bcfe714d5e1a0">operator_or</a></div><div class="ttdeci">void operator_or(s32 *, s32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:25</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a1ec20afa46ac386e0685239f41ea6c94"><div class="ttname"><a href="math__util__2_8h.html#a1ec20afa46ac386e0685239f41ea6c94">func_80040EA4</a></div><div class="ttdeci">s32 func_80040EA4(s32 *, s32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:47</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a24c65c42a01d253920dc8ac596a3f93b"><div class="ttname"><a href="math__util__2_8h.html#a24c65c42a01d253920dc8ac596a3f93b">func_80041D24</a></div><div class="ttdeci">void func_80041D24(void)</div><div class="ttdef"><b>Definition</b> math_util_2.c:603</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a25e17579d158730f22b32a33b92d85b8"><div class="ttname"><a href="math__util__2_8h.html#a25e17579d158730f22b32a33b92d85b8">mtfx_translation_x_y</a></div><div class="ttdeci">void mtfx_translation_x_y(Mat4, s32, s32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:481</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a264bb9e873c7f918b29757c0c4bdb234"><div class="ttname"><a href="math__util__2_8h.html#a264bb9e873c7f918b29757c0c4bdb234">mtxf_set_matrix_scale_transl</a></div><div class="ttdeci">void mtxf_set_matrix_scale_transl(Mat4, Vec3f, Vec3f, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:840</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a28fb1f64c1864bda75ea930382e61553"><div class="ttname"><a href="math__util__2_8h.html#a28fb1f64c1864bda75ea930382e61553">func_8004214C</a></div><div class="ttdeci">void func_8004214C(u16, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:667</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a29245a647b1c0272fcd1d028721f7fbc"><div class="ttname"><a href="math__util__2_8h.html#a29245a647b1c0272fcd1d028721f7fbc">s32_step_up_towards_alternate</a></div><div class="ttdeci">s32 s32_step_up_towards_alternate(s32 *, s32, s32 *)</div><div class="ttdef"><b>Definition</b> math_util_2.c:198</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a2d70705878c2c7715694ec14ea1912a5"><div class="ttname"><a href="math__util__2_8h.html#a2d70705878c2c7715694ec14ea1912a5">f32_step_up_towards_alternate</a></div><div class="ttdeci">s32 f32_step_up_towards_alternate(f32 *, f32, f32 *)</div><div class="ttdef"><b>Definition</b> math_util_2.c:172</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a2f4dc8f37b762eb5b81c8a91ad41b9c6"><div class="ttname"><a href="math__util__2_8h.html#a2f4dc8f37b762eb5b81c8a91ad41b9c6">func_800423F0</a></div><div class="ttdeci">void func_800423F0(Mat4, u16, u16, u16)</div><div class="ttdef"><b>Definition</b> math_util_2.c:762</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a30981b9b507ba557889f16efd8bf1c4a"><div class="ttname"><a href="math__util__2_8h.html#a30981b9b507ba557889f16efd8bf1c4a">mtxf_set_matrix_transformation</a></div><div class="ttdeci">void mtxf_set_matrix_transformation(Mat4, Vec3f, Vec3su, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:812</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a34d61ee823586951bd5f565affccb663"><div class="ttname"><a href="math__util__2_8h.html#a34d61ee823586951bd5f565affccb663">func_80041680</a></div><div class="ttdeci">s32 func_80041680(f32, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:377</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a37ea9961b422d8530750888cd770a14f"><div class="ttname"><a href="math__util__2_8h.html#a37ea9961b422d8530750888cd770a14f">func_80040E84</a></div><div class="ttdeci">bool func_80040E84(s32 *, s32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:37</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a3b2d9ee1212855f3716d21fee5ebeca6"><div class="ttname"><a href="math__util__2_8h.html#a3b2d9ee1212855f3716d21fee5ebeca6">get_angle_between_xy</a></div><div class="ttdeci">s32 get_angle_between_xy(f32, f32, f32, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:399</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a3b8a4e7411829eec9d307da607e8602f"><div class="ttname"><a href="math__util__2_8h.html#a3b8a4e7411829eec9d307da607e8602f">func_80042330_portrait</a></div><div class="ttdeci">void func_80042330_portrait(s32, s32, u16, f32, s16)</div><div class="ttdef"><b>Definition</b> math_util_2.c:725</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a3cd04b1ba067544946d7dafefc98544d"><div class="ttname"><a href="math__util__2_8h.html#a3cd04b1ba067544946d7dafefc98544d">func_800418E8</a></div><div class="ttdeci">s32 func_800418E8(f32, f32, Vec3f)</div><div class="ttdef"><b>Definition</b> math_util_2.c:435</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a3d04ad1c09ccf355292d4044a3f0e0cb"><div class="ttname"><a href="math__util__2_8h.html#a3d04ad1c09ccf355292d4044a3f0e0cb">vec3f_cross_product</a></div><div class="ttdeci">Vec3f * vec3f_cross_product(Vec3f, Vec3f, Vec3f)</div><div class="ttdef"><b>Definition</b> math_util_2.c:351</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a3e33711c2fe0592a76c1cd096814e879"><div class="ttname"><a href="math__util__2_8h.html#a3e33711c2fe0592a76c1cd096814e879">vec3f_rotate</a></div><div class="ttdeci">void vec3f_rotate(Vec3f, Vec3f, Vec3s)</div><div class="ttdef"><b>Definition</b> math_util_2.c:977</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a4036da3720229e9354528af8354ea415"><div class="ttname"><a href="math__util__2_8h.html#a4036da3720229e9354528af8354ea415">func_80041F54</a></div><div class="ttdeci">void func_80041F54(s32, s32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:637</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a410160c1ab5150fe978d3f4f2dd3f545"><div class="ttname"><a href="math__util__2_8h.html#a410160c1ab5150fe978d3f4f2dd3f545">s16_step_up_towards_alternate</a></div><div class="ttdeci">s32 s16_step_up_towards_alternate(s16 *, s16, s16 *)</div><div class="ttdef"><b>Definition</b> math_util_2.c:224</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a47b8282d28096f95fdd2d4cc4ce0e632"><div class="ttname"><a href="math__util__2_8h.html#a47b8282d28096f95fdd2d4cc4ce0e632">s32_step_towards</a></div><div class="ttdeci">s32 s32_step_towards(s32 *, s32, s32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:277</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a4999314c8eabb1ef91570d9b3150e3e1"><div class="ttname"><a href="math__util__2_8h.html#a4999314c8eabb1ef91570d9b3150e3e1">func_800417B4</a></div><div class="ttdeci">u16 func_800417B4(u16, u16)</div><div class="ttdef"><b>Definition</b> math_util_2.c:403</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a49bc773b4441dc804de728baecdb120f"><div class="ttname"><a href="math__util__2_8h.html#a49bc773b4441dc804de728baecdb120f">func_800421FC</a></div><div class="ttdeci">void func_800421FC(s32, s32, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:677</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a4a448a988092a947dad10c487738775d"><div class="ttname"><a href="math__util__2_8h.html#a4a448a988092a947dad10c487738775d">func_80041924</a></div><div class="ttdeci">s32 func_80041924(Collision *, Vec3f)</div><div class="ttdef"><b>Definition</b> math_util_2.c:439</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a4b953a94f2d7c337e50ae44776b4f5be"><div class="ttname"><a href="math__util__2_8h.html#a4b953a94f2d7c337e50ae44776b4f5be">vec3f_set_xyz</a></div><div class="ttdeci">Vec3f * vec3f_set_xyz(Vec3f, f32, f32, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:335</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a4dada7d63face8c5f55e00b855a332ea"><div class="ttname"><a href="math__util__2_8h.html#a4dada7d63face8c5f55e00b855a332ea">mtxf_scale_x_y</a></div><div class="ttdeci">void mtxf_scale_x_y(Mat4, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:529</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a524a45d0980a20bc50c2b4033c99f561"><div class="ttname"><a href="math__util__2_8h.html#a524a45d0980a20bc50c2b4033c99f561">mtxf_mult_second_column</a></div><div class="ttdeci">void mtxf_mult_second_column(Mat4, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:933</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a52e44abc78d7c2e11299ec71aede2905"><div class="ttname"><a href="math__util__2_8h.html#a52e44abc78d7c2e11299ec71aede2905">s32_step_down_towards</a></div><div class="ttdeci">s32 s32_step_down_towards(s32 *, s32, s32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:103</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a58912afce95e46e3ff226257c1f50bc2"><div class="ttname"><a href="math__util__2_8h.html#a58912afce95e46e3ff226257c1f50bc2">func_800418AC</a></div><div class="ttdeci">s32 func_800418AC(f32, f32, Vec3f)</div><div class="ttdef"><b>Definition</b> math_util_2.c:431</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a5e7c494f76605c62b0861ec461ee3f28"><div class="ttname"><a href="math__util__2_8h.html#a5e7c494f76605c62b0861ec461ee3f28">s16_step_up_towards</a></div><div class="ttdeci">s32 s16_step_up_towards(s16 *, s16, s16)</div><div class="ttdef"><b>Definition</b> math_util_2.c:117</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a60afc0e0793ab6ea8836623001048873"><div class="ttname"><a href="math__util__2_8h.html#a60afc0e0793ab6ea8836623001048873">rsp_set_matrix_transl_rot_scale</a></div><div class="ttdeci">void rsp_set_matrix_transl_rot_scale(Vec3f, Vec3f, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:1081</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a616f40d23cc329cdffcbe5fcf6cee747"><div class="ttname"><a href="math__util__2_8h.html#a616f40d23cc329cdffcbe5fcf6cee747">operator_xor</a></div><div class="ttdeci">void operator_xor(s32 *, s32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:33</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a66052313bcfde0d6781810162ab0fa2f"><div class="ttname"><a href="math__util__2_8h.html#a66052313bcfde0d6781810162ab0fa2f">f32_step_down_towards_alternate</a></div><div class="ttdeci">s32 f32_step_down_towards_alternate(f32 *, f32, f32 *)</div><div class="ttdef"><b>Definition</b> math_util_2.c:185</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a679de4d82fcefa320278cd247a5f8d42"><div class="ttname"><a href="math__util__2_8h.html#a679de4d82fcefa320278cd247a5f8d42">s16_step_towards</a></div><div class="ttdeci">s32 s16_step_towards(s16 *, s16, s16)</div><div class="ttdef"><b>Definition</b> math_util_2.c:250</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a73a14e50dd3e7844fac7d576f0c8adb9"><div class="ttname"><a href="math__util__2_8h.html#a73a14e50dd3e7844fac7d576f0c8adb9">rsp_set_matrix_gObjectList</a></div><div class="ttdeci">void rsp_set_matrix_gObjectList(s32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:1091</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a755fb5deda8e5f14ec98ac8b05eca62e"><div class="ttname"><a href="math__util__2_8h.html#a755fb5deda8e5f14ec98ac8b05eca62e">func_800416D8</a></div><div class="ttdeci">f32 func_800416D8(f32 x, f32 z, u16 angle)</div><div class="ttdef"><b>Definition</b> math_util_2.c:385</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a75bfb5b9c5e3191aaf80542caf2aa42a"><div class="ttname"><a href="math__util__2_8h.html#a75bfb5b9c5e3191aaf80542caf2aa42a">is_within_distance_2d</a></div><div class="ttdeci">s32 is_within_distance_2d(f32, f32, f32, f32, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:360</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a7ae92ff6cd417f23d4dcca06468abad7"><div class="ttname"><a href="math__util__2_8h.html#a7ae92ff6cd417f23d4dcca06468abad7">mtxf_mult_third_column</a></div><div class="ttdeci">void mtxf_mult_third_column(Mat4, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:939</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a7c43b4c4dff1ad4729852bf68855535d"><div class="ttname"><a href="math__util__2_8h.html#a7c43b4c4dff1ad4729852bf68855535d">u16_step_up_towards</a></div><div class="ttdeci">s32 u16_step_up_towards(u16 *, u16, u16)</div><div class="ttdef"><b>Definition</b> math_util_2.c:130</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a7c8faeecd6f346dbd257669e248aace6"><div class="ttname"><a href="math__util__2_8h.html#a7c8faeecd6f346dbd257669e248aace6">func_80041724</a></div><div class="ttdeci">f32 func_80041724(f32, f32, u16)</div><div class="ttdef"><b>Definition</b> math_util_2.c:392</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a8831e399c95acebb71a9bd97c7de09dd"><div class="ttname"><a href="math__util__2_8h.html#a8831e399c95acebb71a9bd97c7de09dd">mtxf_mult_first_column</a></div><div class="ttdeci">void mtxf_mult_first_column(Mat4, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:927</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a898fe9b8a64f984d86b3d57239287a68"><div class="ttname"><a href="math__util__2_8h.html#a898fe9b8a64f984d86b3d57239287a68">operator_and_not</a></div><div class="ttdeci">void operator_and_not(s32 *, s32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:29</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_a9ba5841b330eacbd0c790eacb5190d13"><div class="ttname"><a href="math__util__2_8h.html#a9ba5841b330eacbd0c790eacb5190d13">rsp_set_matrix_transformation_inverted_x_y_orientation</a></div><div class="ttdeci">void rsp_set_matrix_transformation_inverted_x_y_orientation(Vec3f, Vec3su, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:1066</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_aa0f56371081de86dcbb5ed53fd24292f"><div class="ttname"><a href="math__util__2_8h.html#aa0f56371081de86dcbb5ed53fd24292f">set_matrix_hud_screen</a></div><div class="ttdeci">void set_matrix_hud_screen(void)</div><div class="ttdef"><b>Definition</b> math_util_2.c:631</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_aa1d15cc35b128e0b76f6b970acfd3cab"><div class="ttname"><a href="math__util__2_8h.html#aa1d15cc35b128e0b76f6b970acfd3cab">func_80041658</a></div><div class="ttdeci">s32 func_80041658(f32, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:373</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_aa591aad9e2b23d12823190e5da57a8b5"><div class="ttname"><a href="math__util__2_8h.html#aa591aad9e2b23d12823190e5da57a8b5">mtxf_u16_rotate_z</a></div><div class="ttdeci">void mtxf_u16_rotate_z(Mat4, u16)</div><div class="ttdef"><b>Definition</b> math_util_2.c:507</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_aa7bb33d0cf35fac65c8639b76a4fb2ed"><div class="ttname"><a href="math__util__2_8h.html#aa7bb33d0cf35fac65c8639b76a4fb2ed">func_800416AC</a></div><div class="ttdeci">s32 func_800416AC(f32, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:381</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_aab8f8e72052565d8662dc76eec5f7ab7"><div class="ttname"><a href="math__util__2_8h.html#aab8f8e72052565d8662dc76eec5f7ab7">s32_step_up_towards</a></div><div class="ttdeci">s32 s32_step_up_towards(s32 *, s32, s32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:89</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_aae502d60ed48e002c9bf17890477aebc"><div class="ttname"><a href="math__util__2_8h.html#aae502d60ed48e002c9bf17890477aebc">set_transform_matrix</a></div><div class="ttdeci">void set_transform_matrix(Mat4 dest, Vec3f orientationVector, Vec3f positionVector, u16 rotationAngle, f32 scaleFactor)</div><div class="ttdef"><b>Definition</b> math_util_2.c:945</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_aafd88bd095d4db4e2ad834bbbc1c7bac"><div class="ttname"><a href="math__util__2_8h.html#aafd88bd095d4db4e2ad834bbbc1c7bac">s16_step_down_towards_alternate</a></div><div class="ttdeci">s32 s16_step_down_towards_alternate(s16 *, s16, s16 *)</div><div class="ttdef"><b>Definition</b> math_util_2.c:237</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_ab2183a20811f82f73822f72f7e5820e7"><div class="ttname"><a href="math__util__2_8h.html#ab2183a20811f82f73822f72f7e5820e7">f32_step_down_towards</a></div><div class="ttdeci">s32 f32_step_down_towards(f32 *, f32, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:76</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_ab8970a807bac4d0a4b4d396f7626d65f"><div class="ttname"><a href="math__util__2_8h.html#ab8970a807bac4d0a4b4d396f7626d65f">vec3f_rotate_x_y</a></div><div class="ttdeci">void vec3f_rotate_x_y(Vec3f, Vec3f, Vec3s)</div><div class="ttdef"><b>Definition</b> math_util_2.c:1016</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_ac02ca5a7638356175eb5cd199942dd1f"><div class="ttname"><a href="math__util__2_8h.html#ac02ca5a7638356175eb5cd199942dd1f">s32_step_down_towards_alternate</a></div><div class="ttdeci">s32 s32_step_down_towards_alternate(s32 *, s32, s32 *)</div><div class="ttdef"><b>Definition</b> math_util_2.c:211</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_ac9379d5f612b4b31cfc268aa7501e303"><div class="ttname"><a href="math__util__2_8h.html#ac9379d5f612b4b31cfc268aa7501e303">func_80042330</a></div><div class="ttdeci">void func_80042330(s32, s32, u16, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:692</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_aca41c87b03119401300c019622c87031"><div class="ttname"><a href="math__util__2_8h.html#aca41c87b03119401300c019622c87031">u16_step_down_towards</a></div><div class="ttdeci">s32 u16_step_down_towards(u16 *, s32, s32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:157</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_ad692d06c2c62cfc4e1b91e03cc0acf00"><div class="ttname"><a href="math__util__2_8h.html#ad692d06c2c62cfc4e1b91e03cc0acf00">vec3f_normalize</a></div><div class="ttdeci">Vec3f * vec3f_normalize(Vec3f dest)</div><div class="ttdef"><b>Definition</b> math_util_2.c:342</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_ae15bc6ce6fee54c5f799fb71393c1b46"><div class="ttname"><a href="math__util__2_8h.html#ae15bc6ce6fee54c5f799fb71393c1b46">rsp_set_matrix_diff_translation_scale</a></div><div class="ttdeci">void rsp_set_matrix_diff_translation_scale(Vec3f, Vec3f, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:1055</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_ae4327c5df49b333e448da750f14387ce"><div class="ttname"><a href="math__util__2_8h.html#ae4327c5df49b333e448da750f14387ce">func_80042330_unchanged</a></div><div class="ttdeci">void func_80042330_unchanged(s32 x, s32 y, u16 angle, f32 scale)</div><div class="ttdef"><b>Definition</b> math_util_2.c:712</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_ae43d750d31e45ae2a51b6ca6d87d1570"><div class="ttname"><a href="math__util__2_8h.html#ae43d750d31e45ae2a51b6ca6d87d1570">func_80041D34</a></div><div class="ttdeci">void func_80041D34(void)</div><div class="ttdef"><b>Definition</b> math_util_2.c:609</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_ae61c678b4cb30631beb8b1c084f053e2"><div class="ttname"><a href="math__util__2_8h.html#ae61c678b4cb30631beb8b1c084f053e2">mtxf_translation_x_y_rotate_z_scale_x_y</a></div><div class="ttdeci">void mtxf_translation_x_y_rotate_z_scale_x_y(Mat4, s32, s32, u16, f32)</div><div class="ttdoc">arg1 and arg2 are s32's into floats?!?</div><div class="ttdef"><b>Definition</b> math_util_2.c:579</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_aee56cd5056c8add4c6834233bc79675e"><div class="ttname"><a href="math__util__2_8h.html#aee56cd5056c8add4c6834233bc79675e">rsp_set_matrix_transformation</a></div><div class="ttdeci">void rsp_set_matrix_transformation(Vec3f, Vec3su, f32)</div><div class="ttdoc">set the matrix to a transformation matrix</div><div class="ttdef"><b>Definition</b> math_util_2.c:1044</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_af24cd139f7cde4fa245d4c872d40e6a5"><div class="ttname"><a href="math__util__2_8h.html#af24cd139f7cde4fa245d4c872d40e6a5">func_8004252C</a></div><div class="ttdeci">void func_8004252C(Mat4, u16, u16)</div><div class="ttdef"><b>Definition</b> math_util_2.c:795</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_af9195037e8bc4ee55b0f1b9a2d2768f6"><div class="ttname"><a href="math__util__2_8h.html#af9195037e8bc4ee55b0f1b9a2d2768f6">func_800419F8</a></div><div class="ttdeci">void func_800419F8(void)</div><div class="ttdef"><b>Definition</b> math_util_2.c:465</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_afb9b5f8428228ee21731d66647fa02a2"><div class="ttname"><a href="math__util__2_8h.html#afb9b5f8428228ee21731d66647fa02a2">f32_step_towards</a></div><div class="ttdeci">s32 f32_step_towards(f32 *, f32, f32)</div><div class="ttdef"><b>Definition</b> math_util_2.c:308</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_aff1e01bdf354a1f632c8737a76690c4e"><div class="ttname"><a href="math__util__2_8h.html#aff1e01bdf354a1f632c8737a76690c4e">func_80042000</a></div><div class="ttdeci">void func_80042000(u16)</div><div class="ttdef"><b>Definition</b> math_util_2.c:647</div></div>
|
|
<div class="ttc" id="amath__util__2_8h_html_aff7db609d130af578032ce82437d4567"><div class="ttname"><a href="math__util__2_8h.html#aff7db609d130af578032ce82437d4567">is_particle_on_screen</a></div><div class="ttdeci">bool is_particle_on_screen(Vec3f, Camera *, u16)</div><div class="ttdef"><b>Definition</b> math_util_2.c:449</div></div>
|
|
<div class="ttc" id="astructCamera_html"><div class="ttname"><a href="structCamera.html">Camera</a></div><div class="ttdef"><b>Definition</b> camera.h:35</div></div>
|
|
<div class="ttc" id="astructCollision_html"><div class="ttname"><a href="structCollision.html">Collision</a></div><div class="ttdef"><b>Definition</b> common_structs.h:147</div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="math__util__2_8h.html">math_util_2.h</a></li>
|
|
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.2 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|