Plane.initFromVec4

graphene.plane.Plane initFromVec4(graphene.vec4.Vec4 src) nothrow

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

Parameters

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

Returns

the initialized plane