Add end-of-line spaces checker
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Nz
|
||||
{
|
||||
m_worldInstance = std::make_shared<WorldInstance>(); //< FIXME: Use pools
|
||||
}
|
||||
|
||||
|
||||
inline GraphicsComponent::GraphicsComponent(std::shared_ptr<InstancedRenderable> renderable, UInt32 renderMask, bool initiallyVisible) :
|
||||
GraphicsComponent(initiallyVisible)
|
||||
{
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace Nz
|
||||
class Light;
|
||||
class PointLight;
|
||||
class SpotLight;
|
||||
|
||||
|
||||
class NAZARA_GRAPHICS_API ForwardPipelinePass : public FramePipelinePass, TransferInterface
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace Nz
|
||||
|
||||
return inputIndex;
|
||||
}
|
||||
|
||||
|
||||
inline std::size_t FramePass::AddOutput(std::size_t attachmentId)
|
||||
{
|
||||
assert(attachmentId != InvalidAttachmentId);
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace Nz
|
||||
template<> struct TypeToMaterialPropertyType<Vector2<Int32>> { static constexpr MaterialPropertyType PropertyType = MaterialPropertyType::Int2; };
|
||||
template<> struct TypeToMaterialPropertyType<Vector3<Int32>> { static constexpr MaterialPropertyType PropertyType = MaterialPropertyType::Int3; };
|
||||
template<> struct TypeToMaterialPropertyType<Vector4<Int32>> { static constexpr MaterialPropertyType PropertyType = MaterialPropertyType::Int4; };
|
||||
|
||||
|
||||
template<> struct TypeToMaterialPropertyType<UInt32> { static constexpr MaterialPropertyType PropertyType = MaterialPropertyType::UInt; };
|
||||
template<> struct TypeToMaterialPropertyType<Vector2<UInt32>> { static constexpr MaterialPropertyType PropertyType = MaterialPropertyType::UInt2; };
|
||||
template<> struct TypeToMaterialPropertyType<Vector3<UInt32>> { static constexpr MaterialPropertyType PropertyType = MaterialPropertyType::UInt3; };
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Nz
|
||||
{
|
||||
return m_submeshes.size();
|
||||
}
|
||||
|
||||
|
||||
inline void Model::SetMaterial(std::size_t subMeshIndex, std::shared_ptr<MaterialInstance> material)
|
||||
{
|
||||
assert(subMeshIndex < m_submeshes.size());
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace Nz
|
||||
|
||||
return lightData;
|
||||
}
|
||||
|
||||
|
||||
// PredefinedPointLightData
|
||||
constexpr PredefinedPointLightData PredefinedPointLightData::Build()
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace Nz
|
||||
|
||||
OptionValuePropertyHandler& operator=(const OptionValuePropertyHandler&) = delete;
|
||||
OptionValuePropertyHandler& operator=(OptionValuePropertyHandler&&) = delete;
|
||||
|
||||
|
||||
private:
|
||||
std::size_t m_propertyIndex;
|
||||
std::string m_propertyName;
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace Nz
|
||||
|
||||
UniformValuePropertyHandler& operator=(const UniformValuePropertyHandler&) = delete;
|
||||
UniformValuePropertyHandler& operator=(UniformValuePropertyHandler&&) = delete;
|
||||
|
||||
|
||||
private:
|
||||
std::size_t m_propertyIndex;
|
||||
std::size_t m_offset;
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Nz
|
||||
RenderTextureBlit(textureSize, std::move(targetTexture), filter, PipelineStage::FragmentShader, MemoryAccess::ShaderRead, TextureLayout::ColorInput)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
RenderTextureBlit::RenderTextureBlit(const Vector2ui& textureSize, std::shared_ptr<Texture> texture, SamplerFilter filter, PipelineStage targetPipelineStage, MemoryAccessFlags targetMemoryFlags, TextureLayout targetLayout) :
|
||||
m_targetTexture(std::move(texture)),
|
||||
m_targetMemoryFlags(targetMemoryFlags),
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace Nz
|
||||
class Texture;
|
||||
class VertexDeclaration;
|
||||
class WorldInstance;
|
||||
|
||||
|
||||
struct SpriteChainRendererData : public ElementRendererData
|
||||
{
|
||||
struct DrawCall
|
||||
|
||||
Reference in New Issue
Block a user