Skip to content

refactor: split transform.hpp and rename rotate functions#17

Merged
marciomoura merged 1 commit into
mainfrom
split_files
Apr 24, 2026
Merged

refactor: split transform.hpp and rename rotate functions#17
marciomoura merged 1 commit into
mainfrom
split_files

Conversation

@marciomoura
Copy link
Copy Markdown
Owner

@marciomoura marciomoura commented Apr 24, 2026

This PR refactors ransform.hpp by splitting it into smaller, more focused headers and renames the
otate functions for better clarity.

Summary of changes:

  • Extracted sum, max, min, and cross_product to math.hpp.
  • Extracted SI <-> Per-Unit conversion logic to pu_conversion.hpp.
  • Extracted unit casting utilities to quantity_cast.hpp.
  • Renamed rotate to rotate_counter_clockwise and rotate_clockwise in abc, alphabeta, and dq frames.
  • Updated mojito.hpp and mojito.cppm to reflect the new structure.
  • Updated CMake and Bazel build files.
  • Added comprehensive unit tests for all new/relocated functions.

@marciomoura marciomoura merged commit 10fa169 into main Apr 24, 2026
5 checks passed
@marciomoura marciomoura deleted the split_files branch April 25, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant