Skip to content

Instantly share code, notes, and snippets.

View Adanos020's full-sized avatar
🦀

Adam Gąsior Adanos020

🦀
  • #opentowork
  • Newcastle Upon Tyne, United Kingdom
  • 09:32 (UTC)
View GitHub Profile
@Adanos020
Adanos020 / debug.hpp
Last active September 12, 2019 21:43
My VkSpinningChalet
#pragma once
#include <vulkan/vulkan.hpp>
#include <iostream>
#ifndef NDEBUG
# define VK_VALIDATION_LAYERS_ENABLED
#endif
#pragma once
#include <range.hpp>
#include <cstring>
#include <memory>
namespace rs
#pragma once
#include <string>
#include <vector>
#include "templates.hpp"
// These are used only for printing the tree.
/*
* A simple database of user accounts.
*
* Author: Adam Gasior
*/
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <fstream>
#include <vector>
#include <algorithm>
#include "PathFinder.hpp"
namespace pft
{
std::vector <sf::Vector2i>
PathFinder::aStar(sf::Vector2i from, sf::Vector2i to, TileGrid& grid, sf::RenderWindow& window)
#include <vector>
#include <algorithm>
#include "PathFinder.hpp"
namespace pft
{
std::vector <sf::Vector2i>
PathFinder::aStar(sf::Vector2i from, sf::Vector2i to, TileGrid& grid, sf::RenderWindow& window)