More consistent coding style

This commit is contained in:
Christophe Riccio
2017-08-15 21:59:47 +02:00
parent a805fb9d68
commit d1afe662be
6 changed files with 19 additions and 21 deletions

View File

@@ -13,7 +13,7 @@
#include <cstdio>
#include <vector>
void print(glm::dmat3 const & Mat0)
void print(glm::dmat3 const& Mat0)
{
printf("mat3(\n");
printf("\tvec3(%2.3f, %2.3f, %2.3f)\n", Mat0[0][0], Mat0[0][1], Mat0[0][2]);

View File

@@ -14,7 +14,7 @@
template<typename genType>
void print(genType const & Mat0)
void print(genType const& Mat0)
{
printf("mat4(\n");
printf("\tvec4(%2.9f, %2.9f, %2.9f, %2.9f)\n", static_cast<double>(Mat0[0][0]), static_cast<double>(Mat0[0][1]), static_cast<double>(Mat0[0][2]), static_cast<double>(Mat0[0][3]));

View File

@@ -80,7 +80,7 @@ int test_decl()
}
template<typename genType>
void print(genType const & Mat0)
void print(genType const& Mat0)
{
printf("mat4(\n");
printf("\tvec4(%2.9f, %2.9f, %2.9f, %2.9f)\n", static_cast<double>(Mat0[0][0]), static_cast<double>(Mat0[0][1]), static_cast<double>(Mat0[0][2]), static_cast<double>(Mat0[0][3]));