Matrix:orthographicProjection: Difference between revisions

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..."
 
No edit summary
Line 4: Line 4:
Replace this matrix by an orthographic projection suitable for the current 3D engine
Replace this matrix by an orthographic projection suitable for the current 3D engine
<source lang="lua">
<source lang="lua">
= Matrix:orthographicProjection(leftrightbottomtopnearfar,)
Matrix:orthographicProjection(left,right,bottom,top,near,far)
</source>
</source>
'''left:''' (number) left plane distance ''''''<br/>
'''left''': (number) left plane distance ''''''<br/>
'''right:''' (number) right plane distance ''''''<br/>
'''right''': (number) right plane distance ''''''<br/>
'''bottom:''' (number) bottom plane distance ''''''<br/>
'''bottom''': (number) bottom plane distance ''''''<br/>
'''top:''' (number) top plane distance ''''''<br/>
'''top''': (number) top plane distance ''''''<br/>
'''near:''' (number) near plane distance ''''''<br/>
'''near''': (number) near plane distance ''''''<br/>
'''far:''' (number) far plane distance ''''''<br/>
'''far''': (number) far plane distance ''''''<br/>

Revision as of 09:21, 23 August 2018

Available since: Gideros 2016.06

Description

Replace this matrix by an orthographic projection suitable for the current 3D engine

 Matrix:orthographicProjection(left,right,bottom,top,near,far)

'left: (number) left plane distance '
'right: (number) right plane distance '
'bottom: (number) bottom plane distance '
'top: (number) top plane distance '
'near: (number) near plane distance '
'far: (number) far plane distance '