Cleanup: style

This commit is contained in:
2018-12-01 08:15:25 +11:00
parent 84285c1e34
commit a9bd788348
10 changed files with 296 additions and 286 deletions

View File

@@ -67,7 +67,7 @@ public:
coeffRef(k) = v[k];
}
Vector3& operator = (const ctype &v)
Vector3& operator =(const ctype &v)
{
for (int k = 0; k < 3; ++k)
coeffRef(k) = v[k];
@@ -98,7 +98,7 @@ public:
coeffRef(l, k) = v[k][l];
}
Matrix3& operator = (const ctype &v)
Matrix3& operator =(const ctype &v)
{
for (int k = 0; k < 3; ++k)
for (int l = 0; l < 3; ++l)
@@ -126,18 +126,18 @@ public:
}
template <typename T>
lVector3f& operator = (T rhs)
lVector3f& operator =(T rhs)
{
base_t::operator=(rhs);
return *this;
}
float* v3(int vertex)
float *v3(int vertex)
{
return &coeffRef(3 * vertex);
}
const float* v3(int vertex) const
const float *v3(int vertex) const
{
return &coeffRef(3 * vertex);
}