Graphics: Add DistanceAsSortKey function

This commit is contained in:
Lynix
2021-10-18 16:46:03 +02:00
parent 9740db8fe2
commit c3999d708f
5 changed files with 72 additions and 26 deletions

View File

@@ -0,0 +1,19 @@
// Copyright (C) 2020 Jérôme Leclercq
// This file is part of the "Nazara Engine - Graphics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_ALGORITHM_GRAPHICS_HPP
#define NAZARA_ALGORITHM_GRAPHICS_HPP
#include <Nazara/Prerequisites.hpp>
namespace Nz
{
inline UInt32 DistanceAsSortKey(float distance);
}
#include <Nazara/Graphics/Algorithm.inl>
#endif