Ver Fonte

Docs: Translating math/interpolants section into Arabic (ar). (#26250)

* update list.json to include the math/interpolants section of arabic docs

* add arabic translation for QuaternionLinearInterpolant page

* add arabic translation for LinearInterpolant page

* add arabic translation for CubicInterpolant page

* add arabic translation for DiscreteInterpolant page
Omar Khalifa há 2 anos atrás
pai
commit
c6536d8379

+ 62 - 0
docs/api/ar/math/interpolants/CubicInterpolant.html

@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<html lang="ar">
+	<head>
+		<meta charset="utf-8" />
+		<base href="../../../../" />
+		<script src="page.js"></script>
+		<link type="text/css" rel="stylesheet" href="page.css" />
+	</head>
+	<body class="rtl">
+		[page:Interpolant] &rarr;
+
+		<h1>[name]</h1>
+
+		<p class="desc"></p>
+
+		<h2>مثال الكود</h2>
+		<code>
+		const interpolant = new THREE.[name](
+			new Float32Array(2),
+			new Float32Array(2),
+			1,
+			new Float32Array(1)
+		);
+		
+		interpolant.evaluate(0.5);
+		</code>
+		
+		<h2>المنشئ (Constructor)</h2>
+		<h3>
+		[name](parameterPositions, sampleValues, sampleSize, resultBuffer)
+		</h3>
+		<p>
+		parameterPositions - مصفوفة المواضع<br />
+		sampleValues - مصفوفة العينات<br />
+		sampleSize - عدد العينات<br />
+		resultBuffer - مخزن لتخزين نتائج التداخل.<br /><br />
+		</p>
+		
+		<h2>الخصائص (Properties)</h2>
+		
+		<h3>[property:null parameterPositions]</h3>
+		
+		<h3>[property:null resultBuffer]</h3>
+		
+		<h3>[property:null sampleValues]</h3>
+		
+		<h3>[property:Object settings]</h3>
+		
+		<h3>[property:null valueSize]</h3>
+		
+		<h2>الطرق (Methods)</h2>
+		
+		<h3>[method:Array evaluate]([param:Number t])</h3>
+		<p>تقييم المُداخِل في الموضع *t*.</p>
+		
+		<h2>المصدر (Source)</h2>
+
+		<p>
+			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
+		</p>
+	</body>
+</html>

+ 62 - 0
docs/api/ar/math/interpolants/DiscreteInterpolant.html

@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<html lang="ar">
+	<head>
+		<meta charset="utf-8" />
+		<base href="../../../../" />
+		<script src="page.js"></script>
+		<link type="text/css" rel="stylesheet" href="page.css" />
+	</head>
+	<body class="rtl">
+		[page:Interpolant] &rarr;
+
+		<h1>[name]</h1>
+
+		<p class="desc"></p>
+
+		<h2>مثال الكود</h2>
+		<code>
+		const interpolant = new THREE.[name](
+			new Float32Array(2),
+			new Float32Array(2),
+			1,
+			new Float32Array(1)
+		);
+		
+		interpolant.evaluate(0.5);
+		</code>
+		
+		<h2>المنشئ (Constructor)</h2>
+		<h3>
+		[name](parameterPositions, sampleValues, sampleSize, resultBuffer)
+		</h3>
+		<p>
+		parameterPositions - مصفوفة المواضع<br />
+		sampleValues - مصفوفة العينات<br />
+		sampleSize - عدد العينات<br />
+		resultBuffer - مخزن لتخزين نتائج التداخل.<br /><br />
+		</p>
+		
+		<h2>الخصائص (Properties)</h2>
+		
+		<h3>[property:null parameterPositions]</h3>
+		
+		<h3>[property:null resultBuffer]</h3>
+		
+		<h3>[property:null sampleValues]</h3>
+		
+		<h3>[property:Object settings]</h3>
+		
+		<h3>[property:null valueSize]</h3>
+		
+		<h2>الطرق (Methods)</h2>
+		
+		<h3>[method:Array evaluate]([param:Number t])</h3>
+		<p>تقييم المُداخِل في الموضع *t*.</p>
+		
+		<h2>المصدر (Source)</h2>
+
+		<p>
+			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
+		</p>
+	</body>
+</html>

+ 62 - 0
docs/api/ar/math/interpolants/LinearInterpolant.html

@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<html lang="ar">
+	<head>
+		<meta charset="utf-8" />
+		<base href="../../../../" />
+		<script src="page.js"></script>
+		<link type="text/css" rel="stylesheet" href="page.css" />
+	</head>
+	<body class="rtl">
+		[page:Interpolant] &rarr;
+
+		<h1>[name]</h1>
+
+		<p class="desc"></p>
+
+		<h2>مثال الكود</h2>
+		<code>
+		const interpolant = new THREE.[name](
+			new Float32Array(2),
+			new Float32Array(2),
+			1,
+			new Float32Array(1)
+		);
+		
+		interpolant.evaluate(0.5);
+		</code>
+		
+		<h2>المنشئ (Constructor)</h2>
+		<h3>
+		[name](parameterPositions, sampleValues, sampleSize, resultBuffer)
+		</h3>
+		<p>
+		parameterPositions - مصفوفة المواضع<br />
+		sampleValues - مصفوفة العينات<br />
+		sampleSize - عدد العينات<br />
+		resultBuffer - مخزن لتخزين نتائج التداخل.<br /><br />
+		</p>
+		
+		<h2>الخصائص (Properties)</h2>
+		
+		<h3>[property:null parameterPositions]</h3>
+		
+		<h3>[property:null resultBuffer]</h3>
+		
+		<h3>[property:null sampleValues]</h3>
+		
+		<h3>[property:Object settings]</h3>
+		
+		<h3>[property:null valueSize]</h3>
+		
+		<h2>الطرق (Methods)</h2>
+		
+		<h3>[method:Array evaluate]([param:Number t])</h3>
+		<p>تقييم المُداخِل في الموضع *t*.</p>
+
+		<h2>المصدر (Source)</h2>
+
+		<p>
+			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
+		</p>
+	</body>
+</html>

+ 62 - 0
docs/api/ar/math/interpolants/QuaternionLinearInterpolant.html

@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<html lang="ar">
+	<head>
+		<meta charset="utf-8" />
+		<base href="../../../../" />
+		<script src="page.js"></script>
+		<link type="text/css" rel="stylesheet" href="page.css" />
+	</head>
+	<body class="rtl">
+		[page:Interpolant] &rarr;
+
+		<h1>[name]</h1>
+
+		<p class="desc"></p>
+
+		<h2>مثال الكود</h2>
+		<code>
+		const interpolant = new THREE.[name](
+			new Float32Array(2),
+			new Float32Array(2),
+			1,
+			new Float32Array(1)
+		);
+		
+		interpolant.evaluate(0.5);
+		</code>
+		
+		<h2>المنشئ (Constructor)</h2>
+		<h3>
+		[name](parameterPositions, sampleValues, sampleSize, resultBuffer)
+		</h3>
+		<p>
+		parameterPositions - مصفوفة المواضع<br />
+		sampleValues - مصفوفة العينات<br />
+		sampleSize - عدد العينات<br />
+		resultBuffer - مخزن لتخزين نتائج التداخل.<br /><br />
+		</p>
+		
+		<h2>الخصائص (Properties)</h2>
+		
+		<h3>[property:null parameterPositions]</h3>
+		
+		<h3>[property:null resultBuffer]</h3>
+		
+		<h3>[property:null sampleValues]</h3>
+		
+		<h3>[property:Object settings]</h3>
+		
+		<h3>[property:null valueSize]</h3>
+		
+		<h2>الطرق (Methods)</h2>
+		
+		<h3>[method:Array evaluate]([param:Number t])</h3>
+		<p>تقييم المُداخِل في الموضع *t*.</p>
+
+		<h2>المصدر (Source)</h2>
+
+		<p>
+			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
+		</p>
+	</body>
+</html>

+ 7 - 0
docs/list.json

@@ -687,6 +687,13 @@
 				"Vector2": "api/ar/math/Vector2",
 				"Vector3": "api/ar/math/Vector3",
 				"Vector4": "api/ar/math/Vector4"
+			},
+
+			"Math / Interpolants": {
+				"CubicInterpolant": "api/ar/math/interpolants/CubicInterpolant",
+				"DiscreteInterpolant": "api/ar/math/interpolants/DiscreteInterpolant",
+				"LinearInterpolant": "api/ar/math/interpolants/LinearInterpolant",
+				"QuaternionLinearInterpolant": "api/ar/math/interpolants/QuaternionLinearInterpolant"
 			}
 
 		}