openrndr / org.openrndr.math.transforms / project

project

fun project(point: Vector3, projection: Matrix44, view: Matrix44, width: Int, height: Int): Vector3 (source)

Project a 3D point on a 2D surface

point the point to project projection the projection matrix view the view matrix width the width of the projection surface height the height of the projection surface