1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 5 6 <title>/usr/local/google/home/srhines/android_trees/jb-mr2-dev/frameworks/rs/scriptc/rs_matrix.rsh File Reference</title> 7 <link href="tabs.css" rel="stylesheet" type="text/css"/> 8 <link href="doxygen.css" rel="stylesheet" type="text/css" /> 9 10 11 12 </head> 13 <body> 14 <div id="top"><!-- do not remove this div! --> 15 16 17 <!-- Generated by Doxygen 1.7.5.1 --> 18 <div id="navrow1" class="tabs"> 19 <ul class="tablist"> 20 <li><a href="index.html"><span>Overview</span></a></li> 21 <li class="current"><a href="globals.html"><span>Globals</span></a></li> 22 <li><a href="annotated.html"><span>Structs</span></a></li> 23 </ul> 24 </div> 25 </div> 26 <div class="header"> 27 <div class="summary"> 28 <a href="#func-members">Functions</a> </div> 29 <div class="headertitle"> 30 <div class="title">/usr/local/google/home/srhines/android_trees/jb-mr2-dev/frameworks/rs/scriptc/rs_matrix.rsh File Reference</div> </div> 31 </div> 32 <div class="contents"> 33 <table class="memberdecls"> 34 <tr><td colspan="2"><h2><a name="func-members"></a> 35 Functions</h2></td></tr> 36 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#ad6ea242218e0f1a031f754df0317e6e7">rsMatrixSet</a> (<a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m, <a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> row, <a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> col, float v)</td></tr> 37 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#ab69543f85a673f23fbb5f893e5824395">rsMatrixSet</a> (<a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> *m, <a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> row, <a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> col, float v)</td></tr> 38 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a0a85c8d3607f1b75019f6991c5b19fca">rsMatrixSet</a> (<a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> *m, <a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> row, <a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> col, float v)</td></tr> 39 <tr><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a22e983b67d3089c5cb97032e249ca335">rsMatrixGet</a> (const <a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m, <a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> row, <a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> col)</td></tr> 40 <tr><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#ad485084684991796cffdd8a008557569">rsMatrixGet</a> (const <a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> *m, <a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> row, <a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> col)</td></tr> 41 <tr><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#aaa86b029d5c5c15fead5338bba02e4c3">rsMatrixGet</a> (const <a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> *m, <a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> row, <a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> col)</td></tr> 42 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a0ffd9de971cf10d0a663ff565be8d3cc">rsMatrixLoadIdentity</a> (<a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m)</td></tr> 43 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a5b31e83553efa947db2198674d5db043">rsMatrixLoadIdentity</a> (<a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> *m)</td></tr> 44 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#ad2954a5ac11d2370227296be89e92471">rsMatrixLoadIdentity</a> (<a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> *m)</td></tr> 45 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#ac380c4117e047da494a74f0dad20fab3">rsMatrixLoad</a> (<a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m, const float *v)</td></tr> 46 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#aef942535c5d56072125dcf5244970ea2">rsMatrixLoad</a> (<a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> *m, const float *v)</td></tr> 47 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#aa327089f7ad9161d7372094163147005">rsMatrixLoad</a> (<a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> *m, const float *v)</td></tr> 48 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a5239a3f5f2becd20507d0aa56638ba03">rsMatrixLoad</a> (<a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m, const <a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *v)</td></tr> 49 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a06176acb38405937cb94c835a712a3b3">rsMatrixLoad</a> (<a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m, const <a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> *v)</td></tr> 50 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a3a3d0f0053720fb4afb3a3eb32e42a82">rsMatrixLoad</a> (<a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m, const <a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> *v)</td></tr> 51 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a654e5abe095770979d740f7b55382bd0">rsMatrixLoad</a> (<a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> *m, const <a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> *v)</td></tr> 52 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a5f3697805c794c9c9f2f8cfdde4b9a44">rsMatrixLoad</a> (<a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> *m, const <a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> *v)</td></tr> 53 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a268032f3ac6d766b1d7fe72a6cb50464">rsMatrixLoadRotate</a> (<a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m, float rot, float x, float y, float z)</td></tr> 54 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#acaf51d1f9ad5041ce01fbf8b7c5923fd">rsMatrixLoadScale</a> (<a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m, float x, float y, float z)</td></tr> 55 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a1b521c8a3d1260fa732cbf0a71af0e74">rsMatrixLoadTranslate</a> (<a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m, float x, float y, float z)</td></tr> 56 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a79f14c4c0f5ecc1bbd0bf54da8b653ef">rsMatrixLoadMultiply</a> (<a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m, const <a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *lhs, const <a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *rhs)</td></tr> 57 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a78872343ea6a5c1a846160ccdc4add52">rsMatrixLoadMultiply</a> (<a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> *m, const <a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> *lhs, const <a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> *rhs)</td></tr> 58 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#ae0dd4755c28fc896626ebf5dc784130f">rsMatrixLoadMultiply</a> (<a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> *m, const <a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> *lhs, const <a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> *rhs)</td></tr> 59 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a97953ab2606900a839e5816c619abe66">rsMatrixMultiply</a> (<a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m, const <a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *rhs)</td></tr> 60 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#ae0b03aeec17ec8b9c5e75f8efb1bdc53">rsMatrixMultiply</a> (<a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> *m, const <a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> *rhs)</td></tr> 61 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#ab1973ad3efa0ab2d53f466dd9fb190bb">rsMatrixMultiply</a> (<a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> *m, const <a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> *rhs)</td></tr> 62 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#ad5ed05ca4880397fb29615e3c6798de1">rsMatrixRotate</a> (<a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m, float rot, float x, float y, float z)</td></tr> 63 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a94cc6b22bd1a6c07a9a1c1d21afb392c">rsMatrixScale</a> (<a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m, float x, float y, float z)</td></tr> 64 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a4df5f9b5bb6044f3c3426f2f58b94405">rsMatrixTranslate</a> (<a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m, float x, float y, float z)</td></tr> 65 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a4c59884a0e534dbbcdc5655842732d43">rsMatrixLoadOrtho</a> (<a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m, float left, float right, float bottom, float top, float near, float far)</td></tr> 66 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#ad25760aaf01e95d0055237afab41bbb3">rsMatrixLoadFrustum</a> (<a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m, float left, float right, float bottom, float top, float near, float far)</td></tr> 67 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#aa404c34d7478f2921f7415d2da95d02b">rsMatrixLoadPerspective</a> (<a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m, float fovy, float aspect, float near, float far)</td></tr> 68 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="rs__types_8rsh.html#adb5162dc168ddd471d948faa60b37c5e">float4</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a2f11c3d7cc34ddce90ba785b93af8da2">rsMatrixMultiply</a> (const <a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m, <a class="el" href="rs__types_8rsh.html#adb5162dc168ddd471d948faa60b37c5e">float4</a> in)</td></tr> 69 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="rs__types_8rsh.html#a0046fa0f208d0899adbcf1f8b5aafadd">float3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a88ae2ed203769cb4a7917f84f6c1a2e2">rsMatrixMultiply</a> (const <a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> *m, <a class="el" href="rs__types_8rsh.html#a0046fa0f208d0899adbcf1f8b5aafadd">float3</a> in)</td></tr> 70 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="rs__types_8rsh.html#a5086d0fcb71f916c936af486ccf0dd41">float2</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a8d81a7143d5d45f60f7e91f955579bab">rsMatrixMultiply</a> (const <a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> *m, <a class="el" href="rs__types_8rsh.html#a5086d0fcb71f916c936af486ccf0dd41">float2</a> in)</td></tr> 71 <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a00b6a334ba5ac94d84850f22ec9f4de5">rsMatrixInverse</a> (<a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m)</td></tr> 72 <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#ac05080d52da2d99a759ef34fa0655e82">rsMatrixInverseTranspose</a> (<a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m)</td></tr> 73 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a88095c70f1550c760844b3e32e41a31a">rsMatrixTranspose</a> (<a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> *m)</td></tr> 74 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#ac52acb31a705f6c68af8bddea0e79969">rsMatrixTranspose</a> (<a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> *m)</td></tr> 75 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__matrix_8rsh.html#a49164dd4d4e85b212196028b1fd89dc1">rsMatrixTranspose</a> (<a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> *m)</td></tr> 76 </table> 77 <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> 78 <div class="textblock"><p>Matrix routines. </p> 79 80 <p>Definition in file <a class="el" href="rs__matrix_8rsh_source.html">rs_matrix.rsh</a>.</p> 81 </div><hr/><h2>Function Documentation</h2> 82 <a class="anchor" id="a22e983b67d3089c5cb97032e249ca335"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixGet" ref="a22e983b67d3089c5cb97032e249ca335" args="(const rs_matrix4x4 *m, uint32_t row, uint32_t col)" --> 83 <div class="memitem"> 84 <div class="memproto"> 85 <table class="memname"> 86 <tr> 87 <td class="memname">float rsMatrixGet </td> 88 <td>(</td> 89 <td class="paramtype">const <a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 90 <td class="paramname"><em>m</em>, </td> 91 </tr> 92 <tr> 93 <td class="paramkey"></td> 94 <td></td> 95 <td class="paramtype"><a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> </td> 96 <td class="paramname"><em>row</em>, </td> 97 </tr> 98 <tr> 99 <td class="paramkey"></td> 100 <td></td> 101 <td class="paramtype"><a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> </td> 102 <td class="paramname"><em>col</em> </td> 103 </tr> 104 <tr> 105 <td></td> 106 <td>)</td> 107 <td></td><td></td> 108 </tr> 109 </table> 110 </div> 111 <div class="memdoc"> 112 <p>Get one element of a matrix.</p> 113 <dl><dt><b>Parameters:</b></dt><dd> 114 <table class="params"> 115 <tr><td class="paramname">m</td><td>The matrix to read from </td></tr> 116 <tr><td class="paramname">row</td><td></td></tr> 117 <tr><td class="paramname">col</td><td></td></tr> 118 </table> 119 </dd> 120 </dl> 121 <dl class="return"><dt><b>Returns:</b></dt><dd>float </dd></dl> 122 123 </div> 124 </div> 125 <a class="anchor" id="ad485084684991796cffdd8a008557569"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixGet" ref="ad485084684991796cffdd8a008557569" args="(const rs_matrix3x3 *m, uint32_t row, uint32_t col)" --> 126 <div class="memitem"> 127 <div class="memproto"> 128 <table class="memname"> 129 <tr> 130 <td class="memname">float rsMatrixGet </td> 131 <td>(</td> 132 <td class="paramtype">const <a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> * </td> 133 <td class="paramname"><em>m</em>, </td> 134 </tr> 135 <tr> 136 <td class="paramkey"></td> 137 <td></td> 138 <td class="paramtype"><a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> </td> 139 <td class="paramname"><em>row</em>, </td> 140 </tr> 141 <tr> 142 <td class="paramkey"></td> 143 <td></td> 144 <td class="paramtype"><a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> </td> 145 <td class="paramname"><em>col</em> </td> 146 </tr> 147 <tr> 148 <td></td> 149 <td>)</td> 150 <td></td><td></td> 151 </tr> 152 </table> 153 </div> 154 <div class="memdoc"> 155 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> 156 157 </div> 158 </div> 159 <a class="anchor" id="aaa86b029d5c5c15fead5338bba02e4c3"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixGet" ref="aaa86b029d5c5c15fead5338bba02e4c3" args="(const rs_matrix2x2 *m, uint32_t row, uint32_t col)" --> 160 <div class="memitem"> 161 <div class="memproto"> 162 <table class="memname"> 163 <tr> 164 <td class="memname">float rsMatrixGet </td> 165 <td>(</td> 166 <td class="paramtype">const <a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> * </td> 167 <td class="paramname"><em>m</em>, </td> 168 </tr> 169 <tr> 170 <td class="paramkey"></td> 171 <td></td> 172 <td class="paramtype"><a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> </td> 173 <td class="paramname"><em>row</em>, </td> 174 </tr> 175 <tr> 176 <td class="paramkey"></td> 177 <td></td> 178 <td class="paramtype"><a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> </td> 179 <td class="paramname"><em>col</em> </td> 180 </tr> 181 <tr> 182 <td></td> 183 <td>)</td> 184 <td></td><td></td> 185 </tr> 186 </table> 187 </div> 188 <div class="memdoc"> 189 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> 190 191 </div> 192 </div> 193 <a class="anchor" id="a00b6a334ba5ac94d84850f22ec9f4de5"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixInverse" ref="a00b6a334ba5ac94d84850f22ec9f4de5" args="(rs_matrix4x4 *m)" --> 194 <div class="memitem"> 195 <div class="memproto"> 196 <table class="memname"> 197 <tr> 198 <td class="memname">bool rsMatrixInverse </td> 199 <td>(</td> 200 <td class="paramtype"><a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 201 <td class="paramname"><em>m</em></td><td>)</td> 202 <td></td> 203 </tr> 204 </table> 205 </div> 206 <div class="memdoc"> 207 <p>Returns true if the matrix was successfully inversed</p> 208 <dl><dt><b>Parameters:</b></dt><dd> 209 <table class="params"> 210 <tr><td class="paramname">m</td><td></td></tr> 211 </table> 212 </dd> 213 </dl> 214 215 </div> 216 </div> 217 <a class="anchor" id="ac05080d52da2d99a759ef34fa0655e82"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixInverseTranspose" ref="ac05080d52da2d99a759ef34fa0655e82" args="(rs_matrix4x4 *m)" --> 218 <div class="memitem"> 219 <div class="memproto"> 220 <table class="memname"> 221 <tr> 222 <td class="memname">bool rsMatrixInverseTranspose </td> 223 <td>(</td> 224 <td class="paramtype"><a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 225 <td class="paramname"><em>m</em></td><td>)</td> 226 <td></td> 227 </tr> 228 </table> 229 </div> 230 <div class="memdoc"> 231 <p>Returns true if the matrix was successfully inversed and transposed.</p> 232 <dl><dt><b>Parameters:</b></dt><dd> 233 <table class="params"> 234 <tr><td class="paramname">m</td><td></td></tr> 235 </table> 236 </dd> 237 </dl> 238 239 </div> 240 </div> 241 <a class="anchor" id="ac380c4117e047da494a74f0dad20fab3"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixLoad" ref="ac380c4117e047da494a74f0dad20fab3" args="(rs_matrix4x4 *m, const float *v)" --> 242 <div class="memitem"> 243 <div class="memproto"> 244 <table class="memname"> 245 <tr> 246 <td class="memname">void rsMatrixLoad </td> 247 <td>(</td> 248 <td class="paramtype"><a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 249 <td class="paramname"><em>m</em>, </td> 250 </tr> 251 <tr> 252 <td class="paramkey"></td> 253 <td></td> 254 <td class="paramtype">const float * </td> 255 <td class="paramname"><em>v</em> </td> 256 </tr> 257 <tr> 258 <td></td> 259 <td>)</td> 260 <td></td><td></td> 261 </tr> 262 </table> 263 </div> 264 <div class="memdoc"> 265 <p>Set the elements of a matrix from an array of floats.</p> 266 <dl><dt><b>Parameters:</b></dt><dd> 267 <table class="params"> 268 <tr><td class="paramname">m</td><td></td></tr> 269 </table> 270 </dd> 271 </dl> 272 273 </div> 274 </div> 275 <a class="anchor" id="aef942535c5d56072125dcf5244970ea2"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixLoad" ref="aef942535c5d56072125dcf5244970ea2" args="(rs_matrix3x3 *m, const float *v)" --> 276 <div class="memitem"> 277 <div class="memproto"> 278 <table class="memname"> 279 <tr> 280 <td class="memname">void rsMatrixLoad </td> 281 <td>(</td> 282 <td class="paramtype"><a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> * </td> 283 <td class="paramname"><em>m</em>, </td> 284 </tr> 285 <tr> 286 <td class="paramkey"></td> 287 <td></td> 288 <td class="paramtype">const float * </td> 289 <td class="paramname"><em>v</em> </td> 290 </tr> 291 <tr> 292 <td></td> 293 <td>)</td> 294 <td></td><td></td> 295 </tr> 296 </table> 297 </div> 298 <div class="memdoc"> 299 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> 300 301 </div> 302 </div> 303 <a class="anchor" id="aa327089f7ad9161d7372094163147005"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixLoad" ref="aa327089f7ad9161d7372094163147005" args="(rs_matrix2x2 *m, const float *v)" --> 304 <div class="memitem"> 305 <div class="memproto"> 306 <table class="memname"> 307 <tr> 308 <td class="memname">void rsMatrixLoad </td> 309 <td>(</td> 310 <td class="paramtype"><a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> * </td> 311 <td class="paramname"><em>m</em>, </td> 312 </tr> 313 <tr> 314 <td class="paramkey"></td> 315 <td></td> 316 <td class="paramtype">const float * </td> 317 <td class="paramname"><em>v</em> </td> 318 </tr> 319 <tr> 320 <td></td> 321 <td>)</td> 322 <td></td><td></td> 323 </tr> 324 </table> 325 </div> 326 <div class="memdoc"> 327 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> 328 329 </div> 330 </div> 331 <a class="anchor" id="a5239a3f5f2becd20507d0aa56638ba03"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixLoad" ref="a5239a3f5f2becd20507d0aa56638ba03" args="(rs_matrix4x4 *m, const rs_matrix4x4 *v)" --> 332 <div class="memitem"> 333 <div class="memproto"> 334 <table class="memname"> 335 <tr> 336 <td class="memname">void rsMatrixLoad </td> 337 <td>(</td> 338 <td class="paramtype"><a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 339 <td class="paramname"><em>m</em>, </td> 340 </tr> 341 <tr> 342 <td class="paramkey"></td> 343 <td></td> 344 <td class="paramtype">const <a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 345 <td class="paramname"><em>v</em> </td> 346 </tr> 347 <tr> 348 <td></td> 349 <td>)</td> 350 <td></td><td></td> 351 </tr> 352 </table> 353 </div> 354 <div class="memdoc"> 355 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> 356 357 </div> 358 </div> 359 <a class="anchor" id="a06176acb38405937cb94c835a712a3b3"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixLoad" ref="a06176acb38405937cb94c835a712a3b3" args="(rs_matrix4x4 *m, const rs_matrix3x3 *v)" --> 360 <div class="memitem"> 361 <div class="memproto"> 362 <table class="memname"> 363 <tr> 364 <td class="memname">void rsMatrixLoad </td> 365 <td>(</td> 366 <td class="paramtype"><a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 367 <td class="paramname"><em>m</em>, </td> 368 </tr> 369 <tr> 370 <td class="paramkey"></td> 371 <td></td> 372 <td class="paramtype">const <a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> * </td> 373 <td class="paramname"><em>v</em> </td> 374 </tr> 375 <tr> 376 <td></td> 377 <td>)</td> 378 <td></td><td></td> 379 </tr> 380 </table> 381 </div> 382 <div class="memdoc"> 383 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> 384 385 </div> 386 </div> 387 <a class="anchor" id="a3a3d0f0053720fb4afb3a3eb32e42a82"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixLoad" ref="a3a3d0f0053720fb4afb3a3eb32e42a82" args="(rs_matrix4x4 *m, const rs_matrix2x2 *v)" --> 388 <div class="memitem"> 389 <div class="memproto"> 390 <table class="memname"> 391 <tr> 392 <td class="memname">void rsMatrixLoad </td> 393 <td>(</td> 394 <td class="paramtype"><a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 395 <td class="paramname"><em>m</em>, </td> 396 </tr> 397 <tr> 398 <td class="paramkey"></td> 399 <td></td> 400 <td class="paramtype">const <a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> * </td> 401 <td class="paramname"><em>v</em> </td> 402 </tr> 403 <tr> 404 <td></td> 405 <td>)</td> 406 <td></td><td></td> 407 </tr> 408 </table> 409 </div> 410 <div class="memdoc"> 411 <p>Set the elements of a matrix from another matrix.</p> 412 <dl><dt><b>Parameters:</b></dt><dd> 413 <table class="params"> 414 <tr><td class="paramname">m</td><td></td></tr> 415 </table> 416 </dd> 417 </dl> 418 419 </div> 420 </div> 421 <a class="anchor" id="a654e5abe095770979d740f7b55382bd0"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixLoad" ref="a654e5abe095770979d740f7b55382bd0" args="(rs_matrix3x3 *m, const rs_matrix3x3 *v)" --> 422 <div class="memitem"> 423 <div class="memproto"> 424 <table class="memname"> 425 <tr> 426 <td class="memname">void rsMatrixLoad </td> 427 <td>(</td> 428 <td class="paramtype"><a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> * </td> 429 <td class="paramname"><em>m</em>, </td> 430 </tr> 431 <tr> 432 <td class="paramkey"></td> 433 <td></td> 434 <td class="paramtype">const <a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> * </td> 435 <td class="paramname"><em>v</em> </td> 436 </tr> 437 <tr> 438 <td></td> 439 <td>)</td> 440 <td></td><td></td> 441 </tr> 442 </table> 443 </div> 444 <div class="memdoc"> 445 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> 446 447 </div> 448 </div> 449 <a class="anchor" id="a5f3697805c794c9c9f2f8cfdde4b9a44"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixLoad" ref="a5f3697805c794c9c9f2f8cfdde4b9a44" args="(rs_matrix2x2 *m, const rs_matrix2x2 *v)" --> 450 <div class="memitem"> 451 <div class="memproto"> 452 <table class="memname"> 453 <tr> 454 <td class="memname">void rsMatrixLoad </td> 455 <td>(</td> 456 <td class="paramtype"><a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> * </td> 457 <td class="paramname"><em>m</em>, </td> 458 </tr> 459 <tr> 460 <td class="paramkey"></td> 461 <td></td> 462 <td class="paramtype">const <a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> * </td> 463 <td class="paramname"><em>v</em> </td> 464 </tr> 465 <tr> 466 <td></td> 467 <td>)</td> 468 <td></td><td></td> 469 </tr> 470 </table> 471 </div> 472 <div class="memdoc"> 473 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> 474 475 </div> 476 </div> 477 <a class="anchor" id="ad25760aaf01e95d0055237afab41bbb3"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixLoadFrustum" ref="ad25760aaf01e95d0055237afab41bbb3" args="(rs_matrix4x4 *m, float left, float right, float bottom, float top, float near, float far)" --> 478 <div class="memitem"> 479 <div class="memproto"> 480 <table class="memname"> 481 <tr> 482 <td class="memname">void rsMatrixLoadFrustum </td> 483 <td>(</td> 484 <td class="paramtype"><a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 485 <td class="paramname"><em>m</em>, </td> 486 </tr> 487 <tr> 488 <td class="paramkey"></td> 489 <td></td> 490 <td class="paramtype">float </td> 491 <td class="paramname"><em>left</em>, </td> 492 </tr> 493 <tr> 494 <td class="paramkey"></td> 495 <td></td> 496 <td class="paramtype">float </td> 497 <td class="paramname"><em>right</em>, </td> 498 </tr> 499 <tr> 500 <td class="paramkey"></td> 501 <td></td> 502 <td class="paramtype">float </td> 503 <td class="paramname"><em>bottom</em>, </td> 504 </tr> 505 <tr> 506 <td class="paramkey"></td> 507 <td></td> 508 <td class="paramtype">float </td> 509 <td class="paramname"><em>top</em>, </td> 510 </tr> 511 <tr> 512 <td class="paramkey"></td> 513 <td></td> 514 <td class="paramtype">float </td> 515 <td class="paramname"><em>near</em>, </td> 516 </tr> 517 <tr> 518 <td class="paramkey"></td> 519 <td></td> 520 <td class="paramtype">float </td> 521 <td class="paramname"><em>far</em> </td> 522 </tr> 523 <tr> 524 <td></td> 525 <td>)</td> 526 <td></td><td></td> 527 </tr> 528 </table> 529 </div> 530 <div class="memdoc"> 531 <p>Load an Frustum projection matrix constructed from the 6 planes</p> 532 <dl><dt><b>Parameters:</b></dt><dd> 533 <table class="params"> 534 <tr><td class="paramname">m</td><td></td></tr> 535 <tr><td class="paramname">left</td><td></td></tr> 536 <tr><td class="paramname">right</td><td></td></tr> 537 <tr><td class="paramname">bottom</td><td></td></tr> 538 <tr><td class="paramname">top</td><td></td></tr> 539 <tr><td class="paramname">near</td><td></td></tr> 540 <tr><td class="paramname">far</td><td></td></tr> 541 </table> 542 </dd> 543 </dl> 544 545 </div> 546 </div> 547 <a class="anchor" id="a0ffd9de971cf10d0a663ff565be8d3cc"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixLoadIdentity" ref="a0ffd9de971cf10d0a663ff565be8d3cc" args="(rs_matrix4x4 *m)" --> 548 <div class="memitem"> 549 <div class="memproto"> 550 <table class="memname"> 551 <tr> 552 <td class="memname">void rsMatrixLoadIdentity </td> 553 <td>(</td> 554 <td class="paramtype"><a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 555 <td class="paramname"><em>m</em></td><td>)</td> 556 <td></td> 557 </tr> 558 </table> 559 </div> 560 <div class="memdoc"> 561 <p>Set the elements of a matrix to the identity matrix.</p> 562 <dl><dt><b>Parameters:</b></dt><dd> 563 <table class="params"> 564 <tr><td class="paramname">m</td><td></td></tr> 565 </table> 566 </dd> 567 </dl> 568 569 </div> 570 </div> 571 <a class="anchor" id="a5b31e83553efa947db2198674d5db043"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixLoadIdentity" ref="a5b31e83553efa947db2198674d5db043" args="(rs_matrix3x3 *m)" --> 572 <div class="memitem"> 573 <div class="memproto"> 574 <table class="memname"> 575 <tr> 576 <td class="memname">void rsMatrixLoadIdentity </td> 577 <td>(</td> 578 <td class="paramtype"><a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> * </td> 579 <td class="paramname"><em>m</em></td><td>)</td> 580 <td></td> 581 </tr> 582 </table> 583 </div> 584 <div class="memdoc"> 585 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> 586 587 </div> 588 </div> 589 <a class="anchor" id="ad2954a5ac11d2370227296be89e92471"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixLoadIdentity" ref="ad2954a5ac11d2370227296be89e92471" args="(rs_matrix2x2 *m)" --> 590 <div class="memitem"> 591 <div class="memproto"> 592 <table class="memname"> 593 <tr> 594 <td class="memname">void rsMatrixLoadIdentity </td> 595 <td>(</td> 596 <td class="paramtype"><a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> * </td> 597 <td class="paramname"><em>m</em></td><td>)</td> 598 <td></td> 599 </tr> 600 </table> 601 </div> 602 <div class="memdoc"> 603 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> 604 605 </div> 606 </div> 607 <a class="anchor" id="a79f14c4c0f5ecc1bbd0bf54da8b653ef"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixLoadMultiply" ref="a79f14c4c0f5ecc1bbd0bf54da8b653ef" args="(rs_matrix4x4 *m, const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs)" --> 608 <div class="memitem"> 609 <div class="memproto"> 610 <table class="memname"> 611 <tr> 612 <td class="memname">void rsMatrixLoadMultiply </td> 613 <td>(</td> 614 <td class="paramtype"><a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 615 <td class="paramname"><em>m</em>, </td> 616 </tr> 617 <tr> 618 <td class="paramkey"></td> 619 <td></td> 620 <td class="paramtype">const <a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 621 <td class="paramname"><em>lhs</em>, </td> 622 </tr> 623 <tr> 624 <td class="paramkey"></td> 625 <td></td> 626 <td class="paramtype">const <a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 627 <td class="paramname"><em>rhs</em> </td> 628 </tr> 629 <tr> 630 <td></td> 631 <td>)</td> 632 <td></td><td></td> 633 </tr> 634 </table> 635 </div> 636 <div class="memdoc"> 637 <p>Multiply two matrix (lhs, rhs) and place the result in m.</p> 638 <dl><dt><b>Parameters:</b></dt><dd> 639 <table class="params"> 640 <tr><td class="paramname">m</td><td></td></tr> 641 <tr><td class="paramname">lhs</td><td></td></tr> 642 <tr><td class="paramname">rhs</td><td></td></tr> 643 </table> 644 </dd> 645 </dl> 646 647 </div> 648 </div> 649 <a class="anchor" id="a78872343ea6a5c1a846160ccdc4add52"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixLoadMultiply" ref="a78872343ea6a5c1a846160ccdc4add52" args="(rs_matrix3x3 *m, const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs)" --> 650 <div class="memitem"> 651 <div class="memproto"> 652 <table class="memname"> 653 <tr> 654 <td class="memname">void rsMatrixLoadMultiply </td> 655 <td>(</td> 656 <td class="paramtype"><a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> * </td> 657 <td class="paramname"><em>m</em>, </td> 658 </tr> 659 <tr> 660 <td class="paramkey"></td> 661 <td></td> 662 <td class="paramtype">const <a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> * </td> 663 <td class="paramname"><em>lhs</em>, </td> 664 </tr> 665 <tr> 666 <td class="paramkey"></td> 667 <td></td> 668 <td class="paramtype">const <a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> * </td> 669 <td class="paramname"><em>rhs</em> </td> 670 </tr> 671 <tr> 672 <td></td> 673 <td>)</td> 674 <td></td><td></td> 675 </tr> 676 </table> 677 </div> 678 <div class="memdoc"> 679 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> 680 681 </div> 682 </div> 683 <a class="anchor" id="ae0dd4755c28fc896626ebf5dc784130f"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixLoadMultiply" ref="ae0dd4755c28fc896626ebf5dc784130f" args="(rs_matrix2x2 *m, const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs)" --> 684 <div class="memitem"> 685 <div class="memproto"> 686 <table class="memname"> 687 <tr> 688 <td class="memname">void rsMatrixLoadMultiply </td> 689 <td>(</td> 690 <td class="paramtype"><a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> * </td> 691 <td class="paramname"><em>m</em>, </td> 692 </tr> 693 <tr> 694 <td class="paramkey"></td> 695 <td></td> 696 <td class="paramtype">const <a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> * </td> 697 <td class="paramname"><em>lhs</em>, </td> 698 </tr> 699 <tr> 700 <td class="paramkey"></td> 701 <td></td> 702 <td class="paramtype">const <a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> * </td> 703 <td class="paramname"><em>rhs</em> </td> 704 </tr> 705 <tr> 706 <td></td> 707 <td>)</td> 708 <td></td><td></td> 709 </tr> 710 </table> 711 </div> 712 <div class="memdoc"> 713 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> 714 715 </div> 716 </div> 717 <a class="anchor" id="a4c59884a0e534dbbcdc5655842732d43"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixLoadOrtho" ref="a4c59884a0e534dbbcdc5655842732d43" args="(rs_matrix4x4 *m, float left, float right, float bottom, float top, float near, float far)" --> 718 <div class="memitem"> 719 <div class="memproto"> 720 <table class="memname"> 721 <tr> 722 <td class="memname">void rsMatrixLoadOrtho </td> 723 <td>(</td> 724 <td class="paramtype"><a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 725 <td class="paramname"><em>m</em>, </td> 726 </tr> 727 <tr> 728 <td class="paramkey"></td> 729 <td></td> 730 <td class="paramtype">float </td> 731 <td class="paramname"><em>left</em>, </td> 732 </tr> 733 <tr> 734 <td class="paramkey"></td> 735 <td></td> 736 <td class="paramtype">float </td> 737 <td class="paramname"><em>right</em>, </td> 738 </tr> 739 <tr> 740 <td class="paramkey"></td> 741 <td></td> 742 <td class="paramtype">float </td> 743 <td class="paramname"><em>bottom</em>, </td> 744 </tr> 745 <tr> 746 <td class="paramkey"></td> 747 <td></td> 748 <td class="paramtype">float </td> 749 <td class="paramname"><em>top</em>, </td> 750 </tr> 751 <tr> 752 <td class="paramkey"></td> 753 <td></td> 754 <td class="paramtype">float </td> 755 <td class="paramname"><em>near</em>, </td> 756 </tr> 757 <tr> 758 <td class="paramkey"></td> 759 <td></td> 760 <td class="paramtype">float </td> 761 <td class="paramname"><em>far</em> </td> 762 </tr> 763 <tr> 764 <td></td> 765 <td>)</td> 766 <td></td><td></td> 767 </tr> 768 </table> 769 </div> 770 <div class="memdoc"> 771 <p>Load an Ortho projection matrix constructed from the 6 planes</p> 772 <dl><dt><b>Parameters:</b></dt><dd> 773 <table class="params"> 774 <tr><td class="paramname">m</td><td></td></tr> 775 <tr><td class="paramname">left</td><td></td></tr> 776 <tr><td class="paramname">right</td><td></td></tr> 777 <tr><td class="paramname">bottom</td><td></td></tr> 778 <tr><td class="paramname">top</td><td></td></tr> 779 <tr><td class="paramname">near</td><td></td></tr> 780 <tr><td class="paramname">far</td><td></td></tr> 781 </table> 782 </dd> 783 </dl> 784 785 </div> 786 </div> 787 <a class="anchor" id="aa404c34d7478f2921f7415d2da95d02b"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixLoadPerspective" ref="aa404c34d7478f2921f7415d2da95d02b" args="(rs_matrix4x4 *m, float fovy, float aspect, float near, float far)" --> 788 <div class="memitem"> 789 <div class="memproto"> 790 <table class="memname"> 791 <tr> 792 <td class="memname">void rsMatrixLoadPerspective </td> 793 <td>(</td> 794 <td class="paramtype"><a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 795 <td class="paramname"><em>m</em>, </td> 796 </tr> 797 <tr> 798 <td class="paramkey"></td> 799 <td></td> 800 <td class="paramtype">float </td> 801 <td class="paramname"><em>fovy</em>, </td> 802 </tr> 803 <tr> 804 <td class="paramkey"></td> 805 <td></td> 806 <td class="paramtype">float </td> 807 <td class="paramname"><em>aspect</em>, </td> 808 </tr> 809 <tr> 810 <td class="paramkey"></td> 811 <td></td> 812 <td class="paramtype">float </td> 813 <td class="paramname"><em>near</em>, </td> 814 </tr> 815 <tr> 816 <td class="paramkey"></td> 817 <td></td> 818 <td class="paramtype">float </td> 819 <td class="paramname"><em>far</em> </td> 820 </tr> 821 <tr> 822 <td></td> 823 <td>)</td> 824 <td></td><td></td> 825 </tr> 826 </table> 827 </div> 828 <div class="memdoc"> 829 <p>Load an perspective projection matrix constructed from the 6 planes</p> 830 <dl><dt><b>Parameters:</b></dt><dd> 831 <table class="params"> 832 <tr><td class="paramname">m</td><td></td></tr> 833 <tr><td class="paramname">fovy</td><td>Field of view, in degrees along the Y axis. </td></tr> 834 <tr><td class="paramname">aspect</td><td>Ratio of x / y. </td></tr> 835 <tr><td class="paramname">near</td><td></td></tr> 836 <tr><td class="paramname">far</td><td></td></tr> 837 </table> 838 </dd> 839 </dl> 840 841 </div> 842 </div> 843 <a class="anchor" id="a268032f3ac6d766b1d7fe72a6cb50464"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixLoadRotate" ref="a268032f3ac6d766b1d7fe72a6cb50464" args="(rs_matrix4x4 *m, float rot, float x, float y, float z)" --> 844 <div class="memitem"> 845 <div class="memproto"> 846 <table class="memname"> 847 <tr> 848 <td class="memname">void rsMatrixLoadRotate </td> 849 <td>(</td> 850 <td class="paramtype"><a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 851 <td class="paramname"><em>m</em>, </td> 852 </tr> 853 <tr> 854 <td class="paramkey"></td> 855 <td></td> 856 <td class="paramtype">float </td> 857 <td class="paramname"><em>rot</em>, </td> 858 </tr> 859 <tr> 860 <td class="paramkey"></td> 861 <td></td> 862 <td class="paramtype">float </td> 863 <td class="paramname"><em>x</em>, </td> 864 </tr> 865 <tr> 866 <td class="paramkey"></td> 867 <td></td> 868 <td class="paramtype">float </td> 869 <td class="paramname"><em>y</em>, </td> 870 </tr> 871 <tr> 872 <td class="paramkey"></td> 873 <td></td> 874 <td class="paramtype">float </td> 875 <td class="paramname"><em>z</em> </td> 876 </tr> 877 <tr> 878 <td></td> 879 <td>)</td> 880 <td></td><td></td> 881 </tr> 882 </table> 883 </div> 884 <div class="memdoc"> 885 <p>Load a rotation matrix.</p> 886 <dl><dt><b>Parameters:</b></dt><dd> 887 <table class="params"> 888 <tr><td class="paramname">m</td><td></td></tr> 889 <tr><td class="paramname">rot</td><td></td></tr> 890 <tr><td class="paramname">x</td><td></td></tr> 891 <tr><td class="paramname">y</td><td></td></tr> 892 <tr><td class="paramname">z</td><td></td></tr> 893 </table> 894 </dd> 895 </dl> 896 897 </div> 898 </div> 899 <a class="anchor" id="acaf51d1f9ad5041ce01fbf8b7c5923fd"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixLoadScale" ref="acaf51d1f9ad5041ce01fbf8b7c5923fd" args="(rs_matrix4x4 *m, float x, float y, float z)" --> 900 <div class="memitem"> 901 <div class="memproto"> 902 <table class="memname"> 903 <tr> 904 <td class="memname">void rsMatrixLoadScale </td> 905 <td>(</td> 906 <td class="paramtype"><a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 907 <td class="paramname"><em>m</em>, </td> 908 </tr> 909 <tr> 910 <td class="paramkey"></td> 911 <td></td> 912 <td class="paramtype">float </td> 913 <td class="paramname"><em>x</em>, </td> 914 </tr> 915 <tr> 916 <td class="paramkey"></td> 917 <td></td> 918 <td class="paramtype">float </td> 919 <td class="paramname"><em>y</em>, </td> 920 </tr> 921 <tr> 922 <td class="paramkey"></td> 923 <td></td> 924 <td class="paramtype">float </td> 925 <td class="paramname"><em>z</em> </td> 926 </tr> 927 <tr> 928 <td></td> 929 <td>)</td> 930 <td></td><td></td> 931 </tr> 932 </table> 933 </div> 934 <div class="memdoc"> 935 <p>Load a scale matrix.</p> 936 <dl><dt><b>Parameters:</b></dt><dd> 937 <table class="params"> 938 <tr><td class="paramname">m</td><td></td></tr> 939 <tr><td class="paramname">x</td><td></td></tr> 940 <tr><td class="paramname">y</td><td></td></tr> 941 <tr><td class="paramname">z</td><td></td></tr> 942 </table> 943 </dd> 944 </dl> 945 946 </div> 947 </div> 948 <a class="anchor" id="a1b521c8a3d1260fa732cbf0a71af0e74"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixLoadTranslate" ref="a1b521c8a3d1260fa732cbf0a71af0e74" args="(rs_matrix4x4 *m, float x, float y, float z)" --> 949 <div class="memitem"> 950 <div class="memproto"> 951 <table class="memname"> 952 <tr> 953 <td class="memname">void rsMatrixLoadTranslate </td> 954 <td>(</td> 955 <td class="paramtype"><a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 956 <td class="paramname"><em>m</em>, </td> 957 </tr> 958 <tr> 959 <td class="paramkey"></td> 960 <td></td> 961 <td class="paramtype">float </td> 962 <td class="paramname"><em>x</em>, </td> 963 </tr> 964 <tr> 965 <td class="paramkey"></td> 966 <td></td> 967 <td class="paramtype">float </td> 968 <td class="paramname"><em>y</em>, </td> 969 </tr> 970 <tr> 971 <td class="paramkey"></td> 972 <td></td> 973 <td class="paramtype">float </td> 974 <td class="paramname"><em>z</em> </td> 975 </tr> 976 <tr> 977 <td></td> 978 <td>)</td> 979 <td></td><td></td> 980 </tr> 981 </table> 982 </div> 983 <div class="memdoc"> 984 <p>Load a translation matrix.</p> 985 <dl><dt><b>Parameters:</b></dt><dd> 986 <table class="params"> 987 <tr><td class="paramname">m</td><td></td></tr> 988 <tr><td class="paramname">x</td><td></td></tr> 989 <tr><td class="paramname">y</td><td></td></tr> 990 <tr><td class="paramname">z</td><td></td></tr> 991 </table> 992 </dd> 993 </dl> 994 995 </div> 996 </div> 997 <a class="anchor" id="a97953ab2606900a839e5816c619abe66"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixMultiply" ref="a97953ab2606900a839e5816c619abe66" args="(rs_matrix4x4 *m, const rs_matrix4x4 *rhs)" --> 998 <div class="memitem"> 999 <div class="memproto"> 1000 <table class="memname"> 1001 <tr> 1002 <td class="memname">void rsMatrixMultiply </td> 1003 <td>(</td> 1004 <td class="paramtype"><a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 1005 <td class="paramname"><em>m</em>, </td> 1006 </tr> 1007 <tr> 1008 <td class="paramkey"></td> 1009 <td></td> 1010 <td class="paramtype">const <a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 1011 <td class="paramname"><em>rhs</em> </td> 1012 </tr> 1013 <tr> 1014 <td></td> 1015 <td>)</td> 1016 <td></td><td></td> 1017 </tr> 1018 </table> 1019 </div> 1020 <div class="memdoc"> 1021 <p>Multiply the matrix m by rhs and place the result back into m.</p> 1022 <dl><dt><b>Parameters:</b></dt><dd> 1023 <table class="params"> 1024 <tr><td class="paramname">m</td><td>(lhs) </td></tr> 1025 <tr><td class="paramname">rhs</td><td></td></tr> 1026 </table> 1027 </dd> 1028 </dl> 1029 1030 </div> 1031 </div> 1032 <a class="anchor" id="ae0b03aeec17ec8b9c5e75f8efb1bdc53"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixMultiply" ref="ae0b03aeec17ec8b9c5e75f8efb1bdc53" args="(rs_matrix3x3 *m, const rs_matrix3x3 *rhs)" --> 1033 <div class="memitem"> 1034 <div class="memproto"> 1035 <table class="memname"> 1036 <tr> 1037 <td class="memname">void rsMatrixMultiply </td> 1038 <td>(</td> 1039 <td class="paramtype"><a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> * </td> 1040 <td class="paramname"><em>m</em>, </td> 1041 </tr> 1042 <tr> 1043 <td class="paramkey"></td> 1044 <td></td> 1045 <td class="paramtype">const <a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> * </td> 1046 <td class="paramname"><em>rhs</em> </td> 1047 </tr> 1048 <tr> 1049 <td></td> 1050 <td>)</td> 1051 <td></td><td></td> 1052 </tr> 1053 </table> 1054 </div> 1055 <div class="memdoc"> 1056 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> 1057 1058 </div> 1059 </div> 1060 <a class="anchor" id="ab1973ad3efa0ab2d53f466dd9fb190bb"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixMultiply" ref="ab1973ad3efa0ab2d53f466dd9fb190bb" args="(rs_matrix2x2 *m, const rs_matrix2x2 *rhs)" --> 1061 <div class="memitem"> 1062 <div class="memproto"> 1063 <table class="memname"> 1064 <tr> 1065 <td class="memname">void rsMatrixMultiply </td> 1066 <td>(</td> 1067 <td class="paramtype"><a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> * </td> 1068 <td class="paramname"><em>m</em>, </td> 1069 </tr> 1070 <tr> 1071 <td class="paramkey"></td> 1072 <td></td> 1073 <td class="paramtype">const <a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> * </td> 1074 <td class="paramname"><em>rhs</em> </td> 1075 </tr> 1076 <tr> 1077 <td></td> 1078 <td>)</td> 1079 <td></td><td></td> 1080 </tr> 1081 </table> 1082 </div> 1083 <div class="memdoc"> 1084 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> 1085 1086 </div> 1087 </div> 1088 <a class="anchor" id="a2f11c3d7cc34ddce90ba785b93af8da2"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixMultiply" ref="a2f11c3d7cc34ddce90ba785b93af8da2" args="(const rs_matrix4x4 *m, float4 in)" --> 1089 <div class="memitem"> 1090 <div class="memproto"> 1091 <table class="memname"> 1092 <tr> 1093 <td class="memname"><a class="el" href="rs__types_8rsh.html#adb5162dc168ddd471d948faa60b37c5e">float4</a> rsMatrixMultiply </td> 1094 <td>(</td> 1095 <td class="paramtype">const <a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 1096 <td class="paramname"><em>m</em>, </td> 1097 </tr> 1098 <tr> 1099 <td class="paramkey"></td> 1100 <td></td> 1101 <td class="paramtype"><a class="el" href="rs__types_8rsh.html#adb5162dc168ddd471d948faa60b37c5e">float4</a> </td> 1102 <td class="paramname"><em>in</em> </td> 1103 </tr> 1104 <tr> 1105 <td></td> 1106 <td>)</td> 1107 <td></td><td></td> 1108 </tr> 1109 </table> 1110 </div> 1111 <div class="memdoc"> 1112 <p>Multiply a vector by a matrix and return the result vector. API version 14+</p> 1113 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> 1114 1115 </div> 1116 </div> 1117 <a class="anchor" id="a88ae2ed203769cb4a7917f84f6c1a2e2"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixMultiply" ref="a88ae2ed203769cb4a7917f84f6c1a2e2" args="(const rs_matrix3x3 *m, float3 in)" --> 1118 <div class="memitem"> 1119 <div class="memproto"> 1120 <table class="memname"> 1121 <tr> 1122 <td class="memname"><a class="el" href="rs__types_8rsh.html#a0046fa0f208d0899adbcf1f8b5aafadd">float3</a> rsMatrixMultiply </td> 1123 <td>(</td> 1124 <td class="paramtype">const <a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> * </td> 1125 <td class="paramname"><em>m</em>, </td> 1126 </tr> 1127 <tr> 1128 <td class="paramkey"></td> 1129 <td></td> 1130 <td class="paramtype"><a class="el" href="rs__types_8rsh.html#a0046fa0f208d0899adbcf1f8b5aafadd">float3</a> </td> 1131 <td class="paramname"><em>in</em> </td> 1132 </tr> 1133 <tr> 1134 <td></td> 1135 <td>)</td> 1136 <td></td><td></td> 1137 </tr> 1138 </table> 1139 </div> 1140 <div class="memdoc"> 1141 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> 1142 1143 </div> 1144 </div> 1145 <a class="anchor" id="a8d81a7143d5d45f60f7e91f955579bab"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixMultiply" ref="a8d81a7143d5d45f60f7e91f955579bab" args="(const rs_matrix2x2 *m, float2 in)" --> 1146 <div class="memitem"> 1147 <div class="memproto"> 1148 <table class="memname"> 1149 <tr> 1150 <td class="memname"><a class="el" href="rs__types_8rsh.html#a5086d0fcb71f916c936af486ccf0dd41">float2</a> rsMatrixMultiply </td> 1151 <td>(</td> 1152 <td class="paramtype">const <a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> * </td> 1153 <td class="paramname"><em>m</em>, </td> 1154 </tr> 1155 <tr> 1156 <td class="paramkey"></td> 1157 <td></td> 1158 <td class="paramtype"><a class="el" href="rs__types_8rsh.html#a5086d0fcb71f916c936af486ccf0dd41">float2</a> </td> 1159 <td class="paramname"><em>in</em> </td> 1160 </tr> 1161 <tr> 1162 <td></td> 1163 <td>)</td> 1164 <td></td><td></td> 1165 </tr> 1166 </table> 1167 </div> 1168 <div class="memdoc"> 1169 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> 1170 1171 </div> 1172 </div> 1173 <a class="anchor" id="ad5ed05ca4880397fb29615e3c6798de1"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixRotate" ref="ad5ed05ca4880397fb29615e3c6798de1" args="(rs_matrix4x4 *m, float rot, float x, float y, float z)" --> 1174 <div class="memitem"> 1175 <div class="memproto"> 1176 <table class="memname"> 1177 <tr> 1178 <td class="memname">void rsMatrixRotate </td> 1179 <td>(</td> 1180 <td class="paramtype"><a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 1181 <td class="paramname"><em>m</em>, </td> 1182 </tr> 1183 <tr> 1184 <td class="paramkey"></td> 1185 <td></td> 1186 <td class="paramtype">float </td> 1187 <td class="paramname"><em>rot</em>, </td> 1188 </tr> 1189 <tr> 1190 <td class="paramkey"></td> 1191 <td></td> 1192 <td class="paramtype">float </td> 1193 <td class="paramname"><em>x</em>, </td> 1194 </tr> 1195 <tr> 1196 <td class="paramkey"></td> 1197 <td></td> 1198 <td class="paramtype">float </td> 1199 <td class="paramname"><em>y</em>, </td> 1200 </tr> 1201 <tr> 1202 <td class="paramkey"></td> 1203 <td></td> 1204 <td class="paramtype">float </td> 1205 <td class="paramname"><em>z</em> </td> 1206 </tr> 1207 <tr> 1208 <td></td> 1209 <td>)</td> 1210 <td></td><td></td> 1211 </tr> 1212 </table> 1213 </div> 1214 <div class="memdoc"> 1215 <p>Multiple matrix m with a rotation matrix</p> 1216 <dl><dt><b>Parameters:</b></dt><dd> 1217 <table class="params"> 1218 <tr><td class="paramname">m</td><td></td></tr> 1219 <tr><td class="paramname">rot</td><td></td></tr> 1220 <tr><td class="paramname">x</td><td></td></tr> 1221 <tr><td class="paramname">y</td><td></td></tr> 1222 <tr><td class="paramname">z</td><td></td></tr> 1223 </table> 1224 </dd> 1225 </dl> 1226 1227 </div> 1228 </div> 1229 <a class="anchor" id="a94cc6b22bd1a6c07a9a1c1d21afb392c"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixScale" ref="a94cc6b22bd1a6c07a9a1c1d21afb392c" args="(rs_matrix4x4 *m, float x, float y, float z)" --> 1230 <div class="memitem"> 1231 <div class="memproto"> 1232 <table class="memname"> 1233 <tr> 1234 <td class="memname">void rsMatrixScale </td> 1235 <td>(</td> 1236 <td class="paramtype"><a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 1237 <td class="paramname"><em>m</em>, </td> 1238 </tr> 1239 <tr> 1240 <td class="paramkey"></td> 1241 <td></td> 1242 <td class="paramtype">float </td> 1243 <td class="paramname"><em>x</em>, </td> 1244 </tr> 1245 <tr> 1246 <td class="paramkey"></td> 1247 <td></td> 1248 <td class="paramtype">float </td> 1249 <td class="paramname"><em>y</em>, </td> 1250 </tr> 1251 <tr> 1252 <td class="paramkey"></td> 1253 <td></td> 1254 <td class="paramtype">float </td> 1255 <td class="paramname"><em>z</em> </td> 1256 </tr> 1257 <tr> 1258 <td></td> 1259 <td>)</td> 1260 <td></td><td></td> 1261 </tr> 1262 </table> 1263 </div> 1264 <div class="memdoc"> 1265 <p>Multiple matrix m with a scale matrix</p> 1266 <dl><dt><b>Parameters:</b></dt><dd> 1267 <table class="params"> 1268 <tr><td class="paramname">m</td><td></td></tr> 1269 <tr><td class="paramname">x</td><td></td></tr> 1270 <tr><td class="paramname">y</td><td></td></tr> 1271 <tr><td class="paramname">z</td><td></td></tr> 1272 </table> 1273 </dd> 1274 </dl> 1275 1276 </div> 1277 </div> 1278 <a class="anchor" id="ad6ea242218e0f1a031f754df0317e6e7"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixSet" ref="ad6ea242218e0f1a031f754df0317e6e7" args="(rs_matrix4x4 *m, uint32_t row, uint32_t col, float v)" --> 1279 <div class="memitem"> 1280 <div class="memproto"> 1281 <table class="memname"> 1282 <tr> 1283 <td class="memname">void rsMatrixSet </td> 1284 <td>(</td> 1285 <td class="paramtype"><a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 1286 <td class="paramname"><em>m</em>, </td> 1287 </tr> 1288 <tr> 1289 <td class="paramkey"></td> 1290 <td></td> 1291 <td class="paramtype"><a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> </td> 1292 <td class="paramname"><em>row</em>, </td> 1293 </tr> 1294 <tr> 1295 <td class="paramkey"></td> 1296 <td></td> 1297 <td class="paramtype"><a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> </td> 1298 <td class="paramname"><em>col</em>, </td> 1299 </tr> 1300 <tr> 1301 <td class="paramkey"></td> 1302 <td></td> 1303 <td class="paramtype">float </td> 1304 <td class="paramname"><em>v</em> </td> 1305 </tr> 1306 <tr> 1307 <td></td> 1308 <td>)</td> 1309 <td></td><td></td> 1310 </tr> 1311 </table> 1312 </div> 1313 <div class="memdoc"> 1314 <p>Set one element of a matrix.</p> 1315 <dl><dt><b>Parameters:</b></dt><dd> 1316 <table class="params"> 1317 <tr><td class="paramname">m</td><td>The matrix to be set </td></tr> 1318 <tr><td class="paramname">row</td><td></td></tr> 1319 <tr><td class="paramname">col</td><td></td></tr> 1320 <tr><td class="paramname">v</td><td></td></tr> 1321 </table> 1322 </dd> 1323 </dl> 1324 <dl class="return"><dt><b>Returns:</b></dt><dd>void </dd></dl> 1325 1326 </div> 1327 </div> 1328 <a class="anchor" id="ab69543f85a673f23fbb5f893e5824395"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixSet" ref="ab69543f85a673f23fbb5f893e5824395" args="(rs_matrix3x3 *m, uint32_t row, uint32_t col, float v)" --> 1329 <div class="memitem"> 1330 <div class="memproto"> 1331 <table class="memname"> 1332 <tr> 1333 <td class="memname">void rsMatrixSet </td> 1334 <td>(</td> 1335 <td class="paramtype"><a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> * </td> 1336 <td class="paramname"><em>m</em>, </td> 1337 </tr> 1338 <tr> 1339 <td class="paramkey"></td> 1340 <td></td> 1341 <td class="paramtype"><a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> </td> 1342 <td class="paramname"><em>row</em>, </td> 1343 </tr> 1344 <tr> 1345 <td class="paramkey"></td> 1346 <td></td> 1347 <td class="paramtype"><a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> </td> 1348 <td class="paramname"><em>col</em>, </td> 1349 </tr> 1350 <tr> 1351 <td class="paramkey"></td> 1352 <td></td> 1353 <td class="paramtype">float </td> 1354 <td class="paramname"><em>v</em> </td> 1355 </tr> 1356 <tr> 1357 <td></td> 1358 <td>)</td> 1359 <td></td><td></td> 1360 </tr> 1361 </table> 1362 </div> 1363 <div class="memdoc"> 1364 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> 1365 1366 </div> 1367 </div> 1368 <a class="anchor" id="a0a85c8d3607f1b75019f6991c5b19fca"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixSet" ref="a0a85c8d3607f1b75019f6991c5b19fca" args="(rs_matrix2x2 *m, uint32_t row, uint32_t col, float v)" --> 1369 <div class="memitem"> 1370 <div class="memproto"> 1371 <table class="memname"> 1372 <tr> 1373 <td class="memname">void rsMatrixSet </td> 1374 <td>(</td> 1375 <td class="paramtype"><a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> * </td> 1376 <td class="paramname"><em>m</em>, </td> 1377 </tr> 1378 <tr> 1379 <td class="paramkey"></td> 1380 <td></td> 1381 <td class="paramtype"><a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> </td> 1382 <td class="paramname"><em>row</em>, </td> 1383 </tr> 1384 <tr> 1385 <td class="paramkey"></td> 1386 <td></td> 1387 <td class="paramtype"><a class="el" href="rs__types_8rsh.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> </td> 1388 <td class="paramname"><em>col</em>, </td> 1389 </tr> 1390 <tr> 1391 <td class="paramkey"></td> 1392 <td></td> 1393 <td class="paramtype">float </td> 1394 <td class="paramname"><em>v</em> </td> 1395 </tr> 1396 <tr> 1397 <td></td> 1398 <td>)</td> 1399 <td></td><td></td> 1400 </tr> 1401 </table> 1402 </div> 1403 <div class="memdoc"> 1404 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> 1405 1406 </div> 1407 </div> 1408 <a class="anchor" id="a4df5f9b5bb6044f3c3426f2f58b94405"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixTranslate" ref="a4df5f9b5bb6044f3c3426f2f58b94405" args="(rs_matrix4x4 *m, float x, float y, float z)" --> 1409 <div class="memitem"> 1410 <div class="memproto"> 1411 <table class="memname"> 1412 <tr> 1413 <td class="memname">void rsMatrixTranslate </td> 1414 <td>(</td> 1415 <td class="paramtype"><a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 1416 <td class="paramname"><em>m</em>, </td> 1417 </tr> 1418 <tr> 1419 <td class="paramkey"></td> 1420 <td></td> 1421 <td class="paramtype">float </td> 1422 <td class="paramname"><em>x</em>, </td> 1423 </tr> 1424 <tr> 1425 <td class="paramkey"></td> 1426 <td></td> 1427 <td class="paramtype">float </td> 1428 <td class="paramname"><em>y</em>, </td> 1429 </tr> 1430 <tr> 1431 <td class="paramkey"></td> 1432 <td></td> 1433 <td class="paramtype">float </td> 1434 <td class="paramname"><em>z</em> </td> 1435 </tr> 1436 <tr> 1437 <td></td> 1438 <td>)</td> 1439 <td></td><td></td> 1440 </tr> 1441 </table> 1442 </div> 1443 <div class="memdoc"> 1444 <p>Multiple matrix m with a translation matrix</p> 1445 <dl><dt><b>Parameters:</b></dt><dd> 1446 <table class="params"> 1447 <tr><td class="paramname">m</td><td></td></tr> 1448 <tr><td class="paramname">x</td><td></td></tr> 1449 <tr><td class="paramname">y</td><td></td></tr> 1450 <tr><td class="paramname">z</td><td></td></tr> 1451 </table> 1452 </dd> 1453 </dl> 1454 1455 </div> 1456 </div> 1457 <a class="anchor" id="a88095c70f1550c760844b3e32e41a31a"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixTranspose" ref="a88095c70f1550c760844b3e32e41a31a" args="(rs_matrix4x4 *m)" --> 1458 <div class="memitem"> 1459 <div class="memproto"> 1460 <table class="memname"> 1461 <tr> 1462 <td class="memname">void rsMatrixTranspose </td> 1463 <td>(</td> 1464 <td class="paramtype"><a class="el" href="structrs__matrix4x4.html">rs_matrix4x4</a> * </td> 1465 <td class="paramname"><em>m</em></td><td>)</td> 1466 <td></td> 1467 </tr> 1468 </table> 1469 </div> 1470 <div class="memdoc"> 1471 <p>Transpose the matrix m.</p> 1472 <dl><dt><b>Parameters:</b></dt><dd> 1473 <table class="params"> 1474 <tr><td class="paramname">m</td><td></td></tr> 1475 </table> 1476 </dd> 1477 </dl> 1478 1479 </div> 1480 </div> 1481 <a class="anchor" id="ac52acb31a705f6c68af8bddea0e79969"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixTranspose" ref="ac52acb31a705f6c68af8bddea0e79969" args="(rs_matrix3x3 *m)" --> 1482 <div class="memitem"> 1483 <div class="memproto"> 1484 <table class="memname"> 1485 <tr> 1486 <td class="memname">void rsMatrixTranspose </td> 1487 <td>(</td> 1488 <td class="paramtype"><a class="el" href="structrs__matrix3x3.html">rs_matrix3x3</a> * </td> 1489 <td class="paramname"><em>m</em></td><td>)</td> 1490 <td></td> 1491 </tr> 1492 </table> 1493 </div> 1494 <div class="memdoc"> 1495 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> 1496 1497 </div> 1498 </div> 1499 <a class="anchor" id="a49164dd4d4e85b212196028b1fd89dc1"></a><!-- doxytag: member="rs_matrix.rsh::rsMatrixTranspose" ref="a49164dd4d4e85b212196028b1fd89dc1" args="(rs_matrix2x2 *m)" --> 1500 <div class="memitem"> 1501 <div class="memproto"> 1502 <table class="memname"> 1503 <tr> 1504 <td class="memname">void rsMatrixTranspose </td> 1505 <td>(</td> 1506 <td class="paramtype"><a class="el" href="structrs__matrix2x2.html">rs_matrix2x2</a> * </td> 1507 <td class="paramname"><em>m</em></td><td>)</td> 1508 <td></td> 1509 </tr> 1510 </table> 1511 </div> 1512 <div class="memdoc"> 1513 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p> 1514 1515 </div> 1516 </div> 1517 </div> 1518 1519 </body> 1520 </html> 1521