Skip to content

Commit

Permalink
as blk (#27079)
Browse files Browse the repository at this point in the history
  • Loading branch information
ycw committed Oct 31, 2023
1 parent f70e4bf commit 0403020
Show file tree
Hide file tree
Showing 8 changed files with 1,478 additions and 1,448 deletions.
122 changes: 63 additions & 59 deletions docs/api/ar/math/Matrix3.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,10 @@ <h3>
<p>
يستخرج [link:https://en.wikipedia.org/wiki/Basis_(linear_algebra) الأساس]
لهذه المصفوفة في ثلاثة متجهات محورية مقدمة. إذا كانت هذه المصفوفة
هي:<br /><br />
هي:
</p>

<math>
<math display="block">
<mrow>
<mo>[</mo>
<mtable>
Expand All @@ -110,53 +111,56 @@ <h3>
</mtable>
<mo>]</mo>
</mrow>
</math><br /><br />
</math>

<p>
ثم سيتم تعيين [page:Vector3 xAxis] ، [page:Vector3 yAxis] ، [page:Vector3 zAxis]
إلى:<br /><br />
إلى:
</p>

<math>
<mrow>
<mi>xAxis</mi>
<mo>=</mo>
<mo>[</mo>
<mtable>
<mtr><mtd style="height: 1rem"><mi>a</mi></mtd></mtr>
<mtr><mtd style="height: 1rem"><mi>d</mi></mtd></mtr>
<mtr><mtd style="height: 1rem"><mi>g</mi></mtd></mtr>
</mtable>
<mo>]</mo>
</mrow>
</math>,
<div style="text-align: center">
<math>
<mrow>
<mi>xAxis</mi>
<mo>=</mo>
<mo>[</mo>
<mtable>
<mtr><mtd style="height: 1rem"><mi>a</mi></mtd></mtr>
<mtr><mtd style="height: 1rem"><mi>d</mi></mtd></mtr>
<mtr><mtd style="height: 1rem"><mi>g</mi></mtd></mtr>
</mtable>
<mo>]</mo>
</mrow>
</math>,

<math>
<mrow>
<mi>yAxis</mi>
<mo>=</mo>
<mo>[</mo>
<mtable>
<mtr><mtd style="height: 1rem"><mi>b</mi></mtd></mtr>
<mtr><mtd style="height: 1rem"><mi>e</mi></mtd></mtr>
<mtr><mtd style="height: 1rem"><mi>h</mi></mtd></mtr>
</mtable>
<mo>]</mo>
</mrow>
</math>, and
<math>
<mrow>
<mi>yAxis</mi>
<mo>=</mo>
<mo>[</mo>
<mtable>
<mtr><mtd style="height: 1rem"><mi>b</mi></mtd></mtr>
<mtr><mtd style="height: 1rem"><mi>e</mi></mtd></mtr>
<mtr><mtd style="height: 1rem"><mi>h</mi></mtd></mtr>
</mtable>
<mo>]</mo>
</mrow>
</math>, and

<math>
<mrow>
<mi>zAxis</mi>
<mo>=</mo>
<mo>[</mo>
<mtable>
<mtr><mtd style="height: 1rem"><mi>c</mi></mtd></mtr>
<mtr><mtd style="height: 1rem"><mi>f</mi></mtd></mtr>
<mtr><mtd style="height: 1rem"><mi>i</mi></mtd></mtr>
</mtable>
<mo>]</mo>
</mrow>
</math>
</p>
<math>
<mrow>
<mi>zAxis</mi>
<mo>=</mo>
<mo>[</mo>
<mtable>
<mtr><mtd style="height: 1rem"><mi>c</mi></mtd></mtr>
<mtr><mtd style="height: 1rem"><mi>f</mi></mtd></mtr>
<mtr><mtd style="height: 1rem"><mi>i</mi></mtd></mtr>
</mtable>
<mo>]</mo>
</mrow>
</math>
</div>

<h3>
[method:this fromArray]( [param:Array array], [param:Integer offset] )
Expand Down Expand Up @@ -192,9 +196,10 @@ <h3>[method:this getNormalMatrix]( [param:Matrix4 m] )</h3>

<h3>[method:this identity]()</h3>
<p>
يعيد هذه المصفوفة إلى مصفوفة الهوية 3x3:<br /><br />
يعيد هذه المصفوفة إلى مصفوفة الهوية 3x3:
</p>

<math>
<math display="block">
<mrow>
<mo>[</mo>
<mtable>
Expand All @@ -217,17 +222,17 @@ <h3>[method:this identity]()</h3>
<mo>]</mo>
</mrow>
</math>
</p>

<h3>[method:this makeRotation]( [param:Float theta] )</h3>
<p>
[page:Float theta] - زاوية الدوران بالراديان. تدور القيم الموجبة
عكس عقارب الساعة.<br /><br />

يضع هذه المصفوفة كتحول دوران ثنائي الأبعاد بـ [page:Float theta]
راديان. المصفوفة الناتجة ستكون:<br /><br />
راديان. المصفوفة الناتجة ستكون:
</p>

<math>
<math display="block">
<mrow>
<mo>[</mo>
<mtable>
Expand Down Expand Up @@ -266,16 +271,16 @@ <h3>[method:this makeRotation]( [param:Float theta] )</h3>
<mo>]</mo>
</mrow>
</math>
</p>

<h3>[method:this makeScale]( [param:Float x], [param:Float y] )</h3>
<p>
[page:Float x] - المبلغ الذي يتم قياسه في المحور X.<br />
[page:Float y] - المبلغ الذي يتم قياسه في المحور Y.<br />

يضع هذه المصفوفة كتحول قياس ثنائي الأبعاد:<br /><br />
يضع هذه المصفوفة كتحول قياس ثنائي الأبعاد:
</p>

<math>
<math display="block">
<mrow>
<mo>[</mo>
<mtable>
Expand All @@ -298,7 +303,6 @@ <h3>[method:this makeScale]( [param:Float x], [param:Float y] )</h3>
<mo>]</mo>
</mrow>
</math>
</p>

<h3>[method:this makeTranslation]( [param:Vector2 v] )</h3>
<h3>[method:this makeTranslation]( [param:Float x], [param:Float y] )</h3>
Expand All @@ -308,9 +312,10 @@ <h3>[method:this makeTranslation]( [param:Float x], [param:Float y] )</h3>
[page:Float x] - المبلغ الذي يتم ترجمته في المحور X.<br />
[page:Float y] - المبلغ الذي يتم ترجمته في المحور Y.<br />

يضع هذه المصفوفة كتحويل ترجمة ثنائي الأبعاد:<br /><br />
يضع هذه المصفوفة كتحويل ترجمة ثنائي الأبعاد:
</p>

<math>
<math display="block">
<mrow>
<mo>[</mo>
<mtable>
Expand All @@ -333,7 +338,6 @@ <h3>[method:this makeTranslation]( [param:Float x], [param:Float y] )</h3>
<mo>]</mo>
</mrow>
</math>
</p>

<h3>[method:this multiply]( [param:Matrix3 m] )</h3>
<p>يضرب هذه المصفوفة بعد [page:Matrix3 m].</p>
Expand All @@ -357,9 +361,10 @@ <h3>
</h3>
<p>
يضع قيم المصفوفة 3x3 على
[link:https://en.wikipedia.org/wiki/Row-_and_column-major_order تسلسل قيم رئيسية للصف]:<br /><br />
[link:https://en.wikipedia.org/wiki/Row-_and_column-major_order تسلسل قيم رئيسية للصف]:
</p>

<math>
<math display="block">
<mrow>
<mo>[</mo>
<mtable>
Expand All @@ -382,7 +387,6 @@ <h3>
<mo>]</mo>
</mrow>
</math>
</p>

<h3>[method:this premultiply]( [param:Matrix3 m] )</h3>
<p>Pre-multiplies this matrix by [page:Matrix3 m].</p>
Expand Down
Loading

0 comments on commit 0403020

Please sign in to comment.