init

fun init(p1: Point, p2: Point, p3: Point, p4: Point): Quad

Initializes a #graphene_quad_t with the given points.

Return

the initialized #graphene_quad_t

Since

1.0

Parameters

p1

the first point of the quadrilateral

p2

the second point of the quadrilateral

p3

the third point of the quadrilateral

p4

the fourth point of the quadrilateral