22 lines
439 B
C++
22 lines
439 B
C++
//
|
|
// Created by shaohuatong on 06.12.19.
|
|
//
|
|
|
|
#ifndef SIMPLE_DRAW_UTILS_HPP
|
|
#define SIMPLE_DRAW_UTILS_HPP
|
|
|
|
#include "vkvm.hpp"
|
|
#include "internal.hpp"
|
|
#include "math.h"
|
|
|
|
class utils {
|
|
public:
|
|
static int squareOfDistance(vkvm::Coordinates x, vkvm::Coordinates y);
|
|
static int getDistance(vkvm::Coordinates x, vkvm::Coordinates y);
|
|
static int min(int x, int y);
|
|
static int max(int x, int y);
|
|
};
|
|
|
|
|
|
#endif //SIMPLE_DRAW_UTILS_H
|