Plane.initFromVec4

Initializes the given #graphene_plane_t using the components of the given #graphene_vec4_t vector.

Parameters

src graphene.vec4.Vec4

a #graphene_vec4_t containing the normal vector in its first three components, and the distance in its fourth component

Return Value

Type: graphene.plane.Plane

the initialized plane