computePoseTransformation

fun computePoseTransformation(modelViewMatrix: FloatArray, result: ProjectiveTransformation3D)

Computes transformation defining pose of a pinhole camera. Camera pose contains both camera rotation and center.

Parameters

modelViewMatrix

array containing values of 4x4 matrix defining model-view matrix.

result

instance where computed 3D transformation will be stored.