Matrix.transformPoint

Transforms the given #graphene_point_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()

class Matrix
void
transformPoint

Parameters

p graphene.point.Point

a #graphene_point_t

res graphene.point.Point

return location for the transformed #graphene_point_t