Matrix.transformPoint3d

void transformPoint3d(graphene.point3_d.Point3D p, out graphene.point3_d.Point3D res)

Transforms the given #graphene_point3d_t using the matrix m.

Unlike [graphene.matrix.Matrix.transformVec3], this function will take into account the fourth row vector of the #graphene_matrix_t when computing the dot product of each row vector of the matrix.

See also: graphene_simd4x4f_point3_mul()

Parameters

pa #graphene_point3d_t
resreturn location for the result