compute Pinhole Camera And Return New
fun computePinholeCameraAndReturnNew(projectionMatrix: FloatArray, modelViewMatrix: FloatArray, width: Int, height: Int): PinholeCamera
Computes pinhole camera from provided projection and model-view matrices.
Return
computed pinhole camera.
Parameters
projection Matrix
array containing values of 4x4 matrix defining projection matrix.
model View Matrix
array containing values of 4x4 matrix defining model-view matrix.
width
width of viewport expressed in pixels.
height
height of viewport expressed in pixels.