unprojectPoint3d

fun unprojectPoint3d(modelview: Matrix, point: Point3D, res: Point3D)

Unprojects the given @point using the @projection matrix and a @modelview matrix.

Since

1.2

Parameters

modelview

a #graphene_matrix_t for the modelview matrix; this is the inverse of the modelview used when projecting the point

point

a #graphene_point3d_t with the coordinates of the point

res

return location for the unprojected point