fix cppcoreguidelines-*
* cppcoreguidelines-init-variables * cppcoreguidelines-c-copy-assignment-signature * cppcoreguidelines-macro-usage * cppcoreguidelines-non-private-member-variables-in-classes * cppcoreguidelines-pro-type-member-init * cppcoreguidelines-slicing * cppcoreguidelines-special-member-functions * cppcoreguidelines-virtual-class-destructor
This commit is contained in:
@@ -38,7 +38,9 @@ class BaseExport ViewProjMethod
|
||||
{
|
||||
public:
|
||||
ViewProjMethod(const ViewProjMethod&) = default;
|
||||
ViewProjMethod(ViewProjMethod&&) = default;
|
||||
ViewProjMethod& operator=(const ViewProjMethod&) = default;
|
||||
ViewProjMethod& operator=(ViewProjMethod&&) = default;
|
||||
virtual ~ViewProjMethod() = default;
|
||||
|
||||
virtual bool isValid() const;
|
||||
@@ -87,7 +89,7 @@ public:
|
||||
|
||||
Matrix4D getProjectionMatrix() const override;
|
||||
|
||||
protected:
|
||||
private:
|
||||
bool isOrthographic;
|
||||
Matrix4D _clMtx, _clMtxInv;
|
||||
};
|
||||
@@ -110,7 +112,7 @@ public:
|
||||
|
||||
Matrix4D getProjectionMatrix() const override;
|
||||
|
||||
protected:
|
||||
private:
|
||||
Matrix4D _clMtx, _clMtxInv;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user