Graphics: Add DistanceAsSortKey function
This commit is contained in:
19
include/Nazara/Graphics/Algorithm.hpp
Normal file
19
include/Nazara/Graphics/Algorithm.hpp
Normal 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
|
||||
Reference in New Issue
Block a user