Add end-of-line spaces checker

This commit is contained in:
SirLynix
2024-01-26 10:43:00 +01:00
parent 63c61c0827
commit 6757de1be8
90 changed files with 170 additions and 126 deletions

View File

@@ -18,7 +18,7 @@ namespace Nz
return *this;
}
inline void Image::ArrayToRegion(ImageType type, unsigned int baseLayer, unsigned int layerCount, Boxui& region)
{
switch (type)

View File

@@ -21,7 +21,7 @@ namespace Nz
m_skinningMatrixUpdated(false)
{
}
inline Joint::Joint(Joint&& joint) noexcept :
Node(std::move(joint)),
m_inverseBindMatrix(joint.m_inverseBindMatrix),

View File

@@ -406,7 +406,7 @@ namespace Nz
EnsureDerivedUpdate();
return globalScale / m_derivedScale;
}
inline Node& Node::operator=(const Node& node)
{
SetParent(node.m_parent, false, Invalidation::DontInvalidate);

View File

@@ -94,7 +94,7 @@ namespace Nz
RichTextDrawer& operator=(RichTextDrawer&& drawer) noexcept;
static constexpr std::size_t InvalidBlockIndex = std::numeric_limits<std::size_t>::max();
private:
struct Block;

View File

@@ -27,7 +27,7 @@ namespace Nz
template<typename T> SparsePtr<T> GetComponentPtr(VertexComponent component, std::size_t componentIndex = 0);
inline const VertexBuffer* GetVertexBuffer() const;
inline UInt32 GetVertexCount() const;
template<typename T> bool HasComponentOfType(VertexComponent component) const;
void Unmap();