Base: modernize C++11

* remove redundant void-arg
* use nullptr
* replace deprecated headers
This commit is contained in:
wmayer
2022-01-25 20:21:30 +01:00
parent 6c29c65013
commit cad0d01883
72 changed files with 628 additions and 633 deletions

View File

@@ -34,7 +34,7 @@ ViewProjMethod::ViewProjMethod()
/*! Calculate the composed projection matrix which is a product of
* projection matrix multiplied with input transformation matrix.
*/
Matrix4D ViewProjMethod::getComposedProjectionMatrix (void) const
Matrix4D ViewProjMethod::getComposedProjectionMatrix () const
{
Matrix4D mat = getProjectionMatrix();
@@ -103,7 +103,7 @@ ViewProjMatrix::~ViewProjMatrix()
{
}
Matrix4D ViewProjMatrix::getProjectionMatrix (void) const
Matrix4D ViewProjMatrix::getProjectionMatrix () const
{
// Return the same matrix as passed to the constructor
Matrix4D mat(_clMtx);
@@ -205,7 +205,7 @@ ViewOrthoProjMatrix::~ViewOrthoProjMatrix()
{
}
Matrix4D ViewOrthoProjMatrix::getProjectionMatrix (void) const
Matrix4D ViewOrthoProjMatrix::getProjectionMatrix () const
{
return _clMtx;
}