-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(physics): fix documentation and code formatting
- Loading branch information
1 parent
6b7bc78
commit eeadeda
Showing
11 changed files
with
117 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,25 @@ | ||
/// @file | ||
/// @brief Gravity plugin, resource @ref cubos::engine::Gravity. | ||
/// @ingroup physics-plugin | ||
/// @ingroup physics-gravity-plugin | ||
|
||
#pragma once | ||
|
||
#include <cubos/engine/cubos.hpp> | ||
|
||
#include <cubos/engine/physics/resources/gravity.hpp> | ||
|
||
#include <cubos/engine/physics/components/physics_velocity.hpp> | ||
#include <cubos/engine/physics/components/physics_mass.hpp> | ||
#include <cubos/engine/physics/components/physics_velocity.hpp> | ||
#include <cubos/engine/physics/resources/gravity.hpp> | ||
|
||
namespace cubos::engine | ||
{ | ||
/// @defgroup physics-plugin Physics | ||
/// @ingroup engine | ||
/// @defgroup physics-gravity-plugin Physics | ||
/// @ingroup physics-plugin | ||
/// @brief Adds gravity to particles. | ||
/// | ||
/// ## Resources | ||
/// - @ref Gravity - holds the global value of gravity. | ||
|
||
/// @brief Plugin entry function. | ||
/// @param cubos @b CUBOS. main class | ||
/// @ingroup physics-plugin | ||
/// @ingroup physics-gravity-plugin | ||
void gravityPlugin(Cubos& cubos); | ||
} // namespace cubos::engine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.