Matrix.transformVec3

Transforms the given #graphene_vec3_t using the matrix m.

This function will multiply the X, Y, and Z row vectors of the matrix m with the corresponding components of the vector v. The W row vector will be ignored.

See also: graphene_simd4x4f_vec3_mul()

class Matrix
void
transformVec3

Parameters

v graphene.vec3.Vec3

a #graphene_vec3_t

res graphene.vec3.Vec3

return location for a #graphene_vec3_t