Fix typo in enum

This commit is contained in:
Jérôme Leclercq
2021-01-14 21:56:55 +01:00
parent 4d63d6e022
commit a9f2e05b57
8 changed files with 12 additions and 11 deletions

View File

@@ -65,10 +65,10 @@ class BinMul : public BinOp<DataType, Nz::ShaderNodes::BinaryType::Multiply>
};
template<typename DataType>
class BinSub : public BinOp<DataType, Nz::ShaderNodes::BinaryType::Substract>
class BinSub : public BinOp<DataType, Nz::ShaderNodes::BinaryType::Subtract>
{
public:
using BinOp<DataType, Nz::ShaderNodes::BinaryType::Substract>::BinOp;
using BinOp<DataType, Nz::ShaderNodes::BinaryType::Subtract>::BinOp;
void ApplyOp(const Nz::Vector4f* left, const Nz::Vector4f* right, Nz::Vector4f* output, std::size_t pixelCount) override;
QString GetOperationString() const final;

View File

@@ -53,10 +53,10 @@ class Mat4Mul : public Mat4BinOp<Nz::ShaderNodes::BinaryType::Multiply>
QString name() const override;
};
class Mat4Sub : public Mat4BinOp<Nz::ShaderNodes::BinaryType::Substract>
class Mat4Sub : public Mat4BinOp<Nz::ShaderNodes::BinaryType::Subtract>
{
public:
using Mat4BinOp<Nz::ShaderNodes::BinaryType::Substract>::Mat4BinOp;
using Mat4BinOp<Nz::ShaderNodes::BinaryType::Subtract>::Mat4BinOp;
QString caption() const override;
QString name() const override;