A C++ utility library for the OpenBuilder demo project, providing 3D math primitives, logging, and JSON-based configuration.
- Vector3 — 3D vector with arithmetic operators, dot/cross product, normalize, magnitude
- Matrix4x4 — 4×4 transformation matrix with identity, rotation, translation, scale, multiply, inverse
- Logger —
spdlog-based logger withCU_LOG_INFO/WARN/ERROR/DEBUGmacros - Config —
nlohmann_json-based config loader with dot-notation key access
- spdlog ≥ 1.9
- nlohmann_json ≥ 3.10
Install via Homebrew:
brew install spdlog nlohmann-jsoncmake -S . -B build -G Ninja
cmake --build buildcd build && ctest --output-on-failurecmake --install build --prefix /usr/localHeaders are installed to include/common_utils/.