Remove spaces before line feed
This commit is contained in:
@@ -13,7 +13,7 @@ namespace Nz
|
||||
* \returns The number of channels occupied by an audio format (mono returns 1, stereo returns 2, etc.)
|
||||
*
|
||||
* \param format A valid audio format
|
||||
*
|
||||
*
|
||||
* \remark format cannot be AudioFormat::Unknown
|
||||
*
|
||||
* \see GuessAudioFormat
|
||||
|
||||
@@ -97,7 +97,7 @@ namespace Nz
|
||||
* \return true If it is the case
|
||||
*
|
||||
* \param state State to compare the top with
|
||||
*
|
||||
*
|
||||
* \remark Because all actions popping or pushing a state don't take effect until next state machine update, this can return false on a just enabled state
|
||||
*/
|
||||
inline bool StateMachine::IsStateEnabled(const State* state) const
|
||||
@@ -113,7 +113,7 @@ namespace Nz
|
||||
* \return true If it is the case
|
||||
*
|
||||
* \param state State to compare the top with
|
||||
*
|
||||
*
|
||||
* \remark Because all actions popping or pushing a state don't take effect until next state machine update, this can return false on a just pushed state
|
||||
*/
|
||||
inline bool StateMachine::IsTopState(const State* state) const
|
||||
|
||||
@@ -393,7 +393,7 @@ namespace Nz
|
||||
|
||||
directory = std::move(newDirectory);
|
||||
return true;
|
||||
},
|
||||
},
|
||||
[&](std::string_view name)
|
||||
{
|
||||
if (name.empty())
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace Nz
|
||||
/*!
|
||||
* \brief Constructs a Frustum by specifying its planes
|
||||
*
|
||||
* \param corners Corners
|
||||
* \param corners Corners
|
||||
* \param planes Frustum of type U to convert to type T
|
||||
*/
|
||||
template<typename T>
|
||||
|
||||
@@ -773,7 +773,7 @@ namespace Nz
|
||||
* \param context Serialization context
|
||||
* \param vector Input Vector2
|
||||
*/
|
||||
template<typename T>
|
||||
template<typename T>
|
||||
bool Serialize(SerializationContext& context, const Vector2<T>& vector, TypeTag<Vector2<T>>)
|
||||
{
|
||||
if (!Serialize(context, vector.x))
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace Nz
|
||||
inline SocketState TcpServer::Listen(NetProtocol protocol, UInt16 port, unsigned int queueSize)
|
||||
{
|
||||
NazaraAssert(protocol != NetProtocol::Any, "Any protocol not supported for Listen"); //< TODO
|
||||
NazaraAssert(protocol != NetProtocol::Unknown, "Invalid protocol");
|
||||
NazaraAssert(protocol != NetProtocol::Unknown, "Invalid protocol");
|
||||
|
||||
IpAddress any;
|
||||
switch (protocol)
|
||||
|
||||
@@ -82,8 +82,8 @@ namespace Nz
|
||||
|
||||
template<typename T>
|
||||
constexpr ComponentType GetComponentTypeOf()
|
||||
{
|
||||
return ComponentTypeId<std::decay_t<T>>();
|
||||
{
|
||||
return ComponentTypeId<std::decay_t<T>>();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -400,7 +400,7 @@ namespace Nz
|
||||
/*!
|
||||
* \class Nz::RichTextDrawer::BlockRef
|
||||
* \brief Helper class representing a block inside a RichTextDrawer, allowing easier access.
|
||||
*
|
||||
*
|
||||
* \warning This class is meant for temporary use, moving or destroying the RichTextDrawer or one of its blocks invalidates all BlockRef
|
||||
*/
|
||||
|
||||
@@ -543,7 +543,7 @@ namespace Nz
|
||||
}
|
||||
|
||||
/*!
|
||||
* Changes the color of the referenced block characters
|
||||
* Changes the color of the referenced block characters
|
||||
* \remark This is the only property that can be changed without forcing a glyph regeneration
|
||||
*
|
||||
* \see GetTextColor, SetCharacterSize, SetFont, SetStyle, SetText
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace Nz
|
||||
return GetVertexBuffer()->GetVertexCount();
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
template<typename T>
|
||||
bool VertexMapper::HasComponentOfType(VertexComponent component) const
|
||||
{
|
||||
return m_mapper.GetBuffer()->GetVertexDeclaration()->HasComponentOfType<T>(component);
|
||||
|
||||
@@ -354,14 +354,14 @@ namespace Nz
|
||||
{
|
||||
switch (comparison)
|
||||
{
|
||||
case RendererComparison::Never: return VK_COMPARE_OP_NEVER;
|
||||
case RendererComparison::Less: return VK_COMPARE_OP_LESS;
|
||||
case RendererComparison::Equal: return VK_COMPARE_OP_EQUAL;
|
||||
case RendererComparison::LessOrEqual: return VK_COMPARE_OP_LESS_OR_EQUAL;
|
||||
case RendererComparison::Greater: return VK_COMPARE_OP_GREATER;
|
||||
case RendererComparison::NotEqual: return VK_COMPARE_OP_NOT_EQUAL;
|
||||
case RendererComparison::GreaterOrEqual: return VK_COMPARE_OP_GREATER_OR_EQUAL;
|
||||
case RendererComparison::Always: return VK_COMPARE_OP_ALWAYS;
|
||||
case RendererComparison::Never: return VK_COMPARE_OP_NEVER;
|
||||
case RendererComparison::Less: return VK_COMPARE_OP_LESS;
|
||||
case RendererComparison::Equal: return VK_COMPARE_OP_EQUAL;
|
||||
case RendererComparison::LessOrEqual: return VK_COMPARE_OP_LESS_OR_EQUAL;
|
||||
case RendererComparison::Greater: return VK_COMPARE_OP_GREATER;
|
||||
case RendererComparison::NotEqual: return VK_COMPARE_OP_NOT_EQUAL;
|
||||
case RendererComparison::GreaterOrEqual: return VK_COMPARE_OP_GREATER_OR_EQUAL;
|
||||
case RendererComparison::Always: return VK_COMPARE_OP_ALWAYS;
|
||||
}
|
||||
|
||||
NazaraErrorFmt("unhandled RendererComparison {0:#x})", UnderlyingCast(comparison));
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DescriptorPool.hpp>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Nz
|
||||
|
||||
inline bool DescriptorSetLayout::Create(Device& device, UInt32 bindingCount, const VkDescriptorSetLayoutBinding* binding, VkDescriptorSetLayoutCreateFlags flags, const VkAllocationCallbacks* allocator)
|
||||
{
|
||||
VkDescriptorSetLayoutCreateInfo createInfo =
|
||||
VkDescriptorSetLayoutCreateInfo createInfo =
|
||||
{
|
||||
VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO, // VkStructureType sType;
|
||||
nullptr, // const void* pNext;
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
VK_DEFINE_HANDLE(VmaAllocator)
|
||||
VK_DEFINE_HANDLE(VmaAllocation)
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
class VulkanDescriptorSetLayoutCache;
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
#include <NazaraUtils/MovablePtr.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Nz::Vk
|
||||
{
|
||||
inline bool Instance::Create(RenderAPIValidationLevel validationLevel, const std::string& appName, UInt32 appVersion, const std::string& engineName, UInt32 engineVersion, UInt32 apiVersion, const std::vector<const char*>& layers, const std::vector<const char*>& extensions, const VkAllocationCallbacks* allocator)
|
||||
{
|
||||
VkApplicationInfo appInfo =
|
||||
VkApplicationInfo appInfo =
|
||||
{
|
||||
VK_STRUCTURE_TYPE_APPLICATION_INFO,
|
||||
nullptr,
|
||||
@@ -22,7 +22,7 @@ namespace Nz::Vk
|
||||
apiVersion
|
||||
};
|
||||
|
||||
VkInstanceCreateInfo instanceInfo =
|
||||
VkInstanceCreateInfo instanceInfo =
|
||||
{
|
||||
VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO,
|
||||
nullptr,
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <vulkan/vulkan_core.h>
|
||||
#include <string>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
#include <string_view>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <NazaraUtils/MovablePtr.hpp>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace Nz::Vk
|
||||
|
||||
inline bool Surface::Create(ANativeWindow* window, VkAndroidSurfaceCreateFlagsKHR flags, const VkAllocationCallbacks* allocator)
|
||||
{
|
||||
VkAndroidSurfaceCreateInfoKHR createInfo =
|
||||
VkAndroidSurfaceCreateInfoKHR createInfo =
|
||||
{
|
||||
VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR,
|
||||
nullptr,
|
||||
|
||||
Reference in New Issue
Block a user