Difference between revisions of "Matrix:orthographicProjection"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2016.06<br/> === Description === Replace this matrix by an orthographic projection suitable for the current 3D engine <source lang="lu...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2016.06<br/>
 
'''Available since:''' Gideros 2016.06<br/>
 +
'''Class:''' [[Matrix]]<br/>
 +
 
=== Description ===
 
=== Description ===
Replace this matrix by an orthographic projection suitable for the current 3D engine
+
Replaces this matrix by an orthographic projection. Suitable for the current 3D engine.
<source lang="lua">
+
<syntaxhighlight lang="lua">
= Matrix:orthographicProjection(leftrightbottomtopnearfar,)
+
Matrix:orthographicProjection(left,right,bottom,top,near,far)
</source>
+
</syntaxhighlight>
'''left:''' (number) left plane distance ''''''<br/>
+
 
'''right:''' (number) right plane distance ''''''<br/>
+
=== Parameters ===
'''bottom:''' (number) bottom plane distance ''''''<br/>
+
'''left''': (number) left plane distance<br/>
'''top:''' (number) top plane distance ''''''<br/>
+
'''right''': (number) right plane distance<br/>
'''near:''' (number) near plane distance ''''''<br/>
+
'''bottom''': (number) bottom plane distance<br/>
'''far:''' (number) far plane distance ''''''<br/>
+
'''top''': (number) top plane distance<br/>
 +
'''near''': (number) near plane distance<br/>
 +
'''far''': (number) far plane distance<br/>
 +
 
 +
{{Matrix}}

Latest revision as of 14:31, 13 July 2023