simple-draw/src/utils.hpp

19 lines
346 B
C++
Raw Normal View History

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"
#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