Description

A simple 2D vector type using floating point values.

Since 1.22

Fields

  • x - X coordinate.
  • y - Y coordinate.

Signature

struct @extern Eina.Vector2 {
    x: double;
    y: double;
}

C signature

typedef struct _Eina_Vector2 {
    double x;
    double y;
} Eina_Vector2;