Package: graphene

Function graphene:triangle-normal

Lambda List

graphene:triangle-normal (triangle result)

Arguments

triangle -- a graphene:triangle-t instance
result -- a graphene:vec3-t instance for the normal vector

Return Value

The graphene:vec3-t instance with the normal vector.

Details

Computes the normal vector of the given triangle.
 

See also

#2023-12-8