Matrix.transformPoint

Transforms the given #graphene_point_t using the matrix @m.

Unlike graphene_matrix_transform_vec3(), 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 Point

a #graphene_point_t

res Point

return location for the transformed #graphene_point_t

Meta