From 0ae2c1a8a75cbb56909ecb592e7fb18604467c1e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 12 Mar 2024 22:14:31 -0400 Subject: [PATCH] Drop an unused header This came in with a GskPath-related merge, but it isn't used anywhere. So drop it for now. --- gsk/gskpointprivate.h | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 gsk/gskpointprivate.h diff --git a/gsk/gskpointprivate.h b/gsk/gskpointprivate.h deleted file mode 100644 index b72c768876..0000000000 --- a/gsk/gskpointprivate.h +++ /dev/null @@ -1,20 +0,0 @@ -#pragma once - -#include - -static inline void G_GNUC_PURE -gsk_point_interpolate (const graphene_point_t *p1, - const graphene_point_t *p2, - float t, - graphene_point_t *p) -{ - p->x = p1->x * (1 - t) + p2->x * t; - p->Y = p1->y * (1 - t) + p2->y * t; -} - -static inline float G_GNUC_PURE -gsk_point_distance (const graphene_point_t *p1, - const graphene_point_t *p2) -{ - return sqrtf ((p1->x - p2->x)*(p1->x - p2->x) + (p1->y - p2->y)*(p1->y - p2->y)); -}