2019-12-11 11:55:00 +01:00
|
|
|
//
|
|
|
|
// Created by shaohuatong on 06.12.19.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef SIMPLE_DRAW_UTILS_HPP
|
|
|
|
#define SIMPLE_DRAW_UTILS_HPP
|
|
|
|
|
|
|
|
#include "vkvm.hpp"
|
2020-01-08 21:57:41 +01:00
|
|
|
#include <cmath>
|
2019-12-11 11:55:00 +01:00
|
|
|
|
|
|
|
class utils {
|
|
|
|
public:
|
|
|
|
static int squareOfDistance(vkvm::Coordinates x, vkvm::Coordinates y);
|
|
|
|
static int getDistance(vkvm::Coordinates x, vkvm::Coordinates y);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //SIMPLE_DRAW_UTILS_H
|