Plane.initFromVec4

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

class Plane
initFromVec4

Parameters

src Vec4

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

Return Value

Type: Plane

the initialized plane

Meta