Skip to content

Commit

Permalink
giving up on disabling clang format since ci complains about it and t…
Browse files Browse the repository at this point in the history
…hat's not worth the hassle
  • Loading branch information
Wumpf committed Aug 9, 2023
1 parent f8ad8d6 commit 0fbd20a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions rerun_cpp/tests/transform3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,14 @@ SCENARIO(
const bool from_parent = GENERATE(true, false);

SECTION("TranslationAndMat3x3") {
// clang-format off
// Do NOT write this as rrd::Mat3x3 as this actually caught an overload resolution bug.
#define MATRIX_ILIST {{1.0f, 2.0f, 3.0f}, {4.0f, 5.0f, 6.0f}, {7.0f, 8.0f, 9.0f}}
// clang-format on
// Do NOT write this as rrd::Mat3x3 as this actually caught an overload resolution bug.
#define MATRIX_ILIST \
{ \
{1.0f, 2.0f, 3.0f}, {4.0f, 5.0f, 6.0f}, { \
7.0f, 8.0f, 9.0f \
} \
}

rrd::Vec3D columns[3] = MATRIX_ILIST;

Transform3D manual;
Expand Down

0 comments on commit 0fbd20a

Please sign in to comment.