Skip to content

Commit

Permalink
style: 🎨 fix formatting of doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ion098 committed Nov 19, 2024
1 parent e54e6c7 commit a1cb6d7
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions include/gamepad/joystick_transformation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ namespace gamepad {
*/
class AbstractTransformation {
public:
/**
* @brief Get the transformed coordinate given the original.
*
* @param original The original value of the joystick
* @return std::pair<float, float> The transformed value
*/
/**
* @brief Get the transformed coordinate given the original.
*
* @param original The original value of the joystick
* @return std::pair<float, float> The transformed value
*/
virtual std::pair<float, float> get_value(std::pair<float, float> original) = 0;
virtual ~AbstractTransformation() = default;
};
Expand Down Expand Up @@ -172,14 +172,16 @@ class TransformationBuilder final {
/**
* @brief Generate the final chained transformation
*
* @return Transformation The final chained transformation. This can be passed to set_left_transform/set_right_transform
* @return Transformation The final chained transformation. This can be passed to
* set_left_transform/set_right_transform
*/
Transformation build() { return std::move(m_transform); }

/**
* @brief Generate the final chained transformation
*
* @return Transformation The final chained transformation. This can be passed to set_left_transform/set_right_transform
* @return Transformation The final chained transformation. This can be passed to
* set_left_transform/set_right_transform
*/
operator Transformation() { return std::move(m_transform); }
private:
Expand Down

0 comments on commit a1cb6d7

Please sign in to comment.