Package: graphene

Function graphene:matrix-transform-vec3

Lambda List

graphene:matrix-transform-vec3 (matrix vector result)

Arguments

matrix -- a graphene:matrix-t instance
vector -- a graphene:vec3-t instance
result -- a graphene:vec3-t instance

Return Value

The graphene:vec3-t instance with the result.

Details

Transforms the given vector using the given matrix. This function will multiply the x, y, and z row vectors of matrix with the corresponding components of vector. The w row vector will be ignored.
 

See also

#2023-12-30