Matrix.transformPoint3d

Transforms the given #graphene_point3d_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
transformPoint3d

Parameters

p Point3D

a #graphene_point3d_t

res Point3D

return location for the result

Meta