#pragma once
#include <cmath>
#include "base.h"
namespace msdfgen {
struct Vector2 { … };
Point2;
inline double dotProduct(const Vector2 a, const Vector2 b) { … }
inline double crossProduct(const Vector2 a, const Vector2 b) { … }
inline bool operator==(const Vector2 a, const Vector2 b) { … }
inline bool operator!=(const Vector2 a, const Vector2 b) { … }
inline Vector2 operator+(const Vector2 v) { … }
inline Vector2 operator-(const Vector2 v) { … }
inline bool operator!(const Vector2 v) { … }
inline Vector2 operator+(const Vector2 a, const Vector2 b) { … }
inline Vector2 operator-(const Vector2 a, const Vector2 b) { … }
inline Vector2 operator*(const Vector2 a, const Vector2 b) { … }
inline Vector2 operator/(const Vector2 a, const Vector2 b) { … }
inline Vector2 operator*(double a, const Vector2 b) { … }
inline Vector2 operator/(double a, const Vector2 b) { … }
inline Vector2 operator*(const Vector2 a, double b) { … }
inline Vector2 operator/(const Vector2 a, double b) { … }
}