--- a/src/miscallenous.h Mon Aug 04 13:43:54 2014 +0300 +++ b/src/miscallenous.h Wed Aug 06 16:18:24 2014 +0300 @@ -33,14 +33,14 @@ extern const int PrimeNumbers[NUM_PRIMES]; // Simplifies the given fraction. -void simplify (int& numer, int& denom); +void Simplify (int& numer, int& denom); using ApplyToMatrixFunction = std::function<void (int, double&)>; using ApplyToMatrixConstFunction = std::function<void (int, double)>; void RoundToDecimals (double& a, int decimals); -void applyToMatrix (Matrix& a, ApplyToMatrixFunction func); -void applyToMatrix (const Matrix& a, ApplyToMatrixConstFunction func); +void ApplyToMatrix (Matrix& a, ApplyToMatrixFunction func); +void ApplyToMatrix (const Matrix& a, ApplyToMatrixConstFunction func); double GetCoordinateOf (const Vertex& a, Axis ax); QString MakePrettyFileSize (qint64 size); @@ -91,5 +91,5 @@ Angle }; - double snap (double value, const Grid::Config type); + double Snap (double value, const Grid::Config type); }