ortho

fun ortho(renderTarget: RenderTarget)(source)

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

Parameters

renderTarget

the render target to take the sizes from


fun ortho()(source)

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)(source)

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

Parameters

left

left value

right

right value

bottom

bottom value

top

top value

near

near value

far

far value

See also