ortho

fun ortho(renderTarget: RenderTarget)

Sets the projection matrix to orthogonal using the sizes of a RenderTarget

Parameters

renderTarget

the render target to take the sizes from

fun ortho()

Sets the projection matrix to orthogonal using the drawer's current size

fun ortho(left: Double, right: Double, bottom: Double, top: Double, near: Double, far: Double)

Sets the projection matrix to orthogonal using left, right, bottom, top, near, far

See also

Parameters

left

left value

right

right value

bottom

bottom value

top

top value

near

near value

far

far value