Skip to content

Commit

Permalink
Committing clang-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alemuntoni authored and actions-user committed Oct 27, 2023
1 parent fdee67d commit ca608cf
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions include/vclib/space/quaternion.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ class Quaternion
const Scalar& x,
const Scalar& y,
const Scalar& z) :
q(w, x, y, z)
q(w, x, y, z)
{
}

Quaternion(const Scalar& s, const Point3<Scalar>& v) :
q(s, v(0), v(1), v(2))
q(s, v(0), v(1), v(2))
{
}

Expand Down Expand Up @@ -256,10 +256,7 @@ class Quaternion
return *this;
}

Matrix33<Scalar> toRotationMatrix() const
{
return q.toRotationMatrix();
}
Matrix33<Scalar> toRotationMatrix() const { return q.toRotationMatrix(); }
};

} // namespace vcl
Expand Down

0 comments on commit ca608cf

Please sign in to comment.