Vec4.getXy

void getXy(out graphene.vec2.Vec2 res)

Creates a #graphene_vec2_t that contains the first two components of the given #graphene_vec4_t.

Parameters

resreturn location for a #graphene_vec2_t