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 Feb 21, 2024
1 parent a94b216 commit 45528d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions include/vclib/math/transform.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,15 @@ void setTransformMatrixRotationDeg(
*/
template<typename MatrixType, PointConcept PointType>
void setTransformMatrixRotation(
MatrixType& matrix,
MatrixType& matrix,
const PointType& fromVector,
const PointType& toVector)
{
if (fromVector == toVector) {
matrix.setIdentity();
return;
}
PointType axis = fromVector.cross(toVector);
PointType axis = fromVector.cross(toVector);
auto angle = std::acos(
fromVector.dot(toVector) / (fromVector.norm() * toVector.norm()));
setTransformMatrixRotation(matrix, axis, angle);
Expand Down
2 changes: 1 addition & 1 deletion include/vclib/space/bit_set.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
#ifndef VCL_SPACE_BIT_SET_H
#define VCL_SPACE_BIT_SET_H

#include <ostream>
#include <stdexcept>
#include <string>
#include <ostream>

#include <vclib/concepts/types.h>

Expand Down

0 comments on commit 45528d1

Please sign in to comment.