alloc

fun alloc(): Vec2

Allocates a new #graphene_vec2_t structure.

The contents of the returned structure are undefined.

Use graphene_vec2_init() to initialize the vector.

Return

the newly allocated #graphene_vec2_t structure. Use graphene_vec2_free() to free the resources allocated by this function.

Since

1.0