projectToSegment2D

fun Segment3D.projectToSegment2D(projection: Matrix44, view: Matrix44, width: Int, height: Int): Segment2D(source)

Projects Segment3D to Segment2D

Since

orx 0.4.5

Parameters

projection

The projection matrix to use

view

The view matrix to use

width

The viewport width

height

The viewport height