Vec2.alloc

Allocates a new #graphene_vec2_t structure.

The contents of the returned structure are undefined.

Use graphene.vec2.Vec2.init_ to initialize the vector.

class Vec2
static
alloc
()

Return Value

Type: graphene.vec2.Vec2

the newly allocated #graphene_vec2_t structure. Use graphene.vec2.Vec2.free to free the resources allocated by this function.