More consistent coding style
This commit is contained in:
@@ -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]);
|
||||
|
||||
@@ -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]));
|
||||
|
||||
@@ -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]));
|
||||
|
||||
Reference in New Issue
Block a user