transformPoint

fun transformPoint(p: Point, res: Point)

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()

Since

1.0

Parameters

p

a #graphene_point_t

res

return location for the transformed #graphene_point_t