Code quality: Fix header guards consistency
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
This commit is contained in:
parent
3084a48ace
commit
90019676b0
491 changed files with 1009 additions and 863 deletions
|
|
@ -37,4 +37,4 @@
|
|||
bool gjk_epa_calculate_penetration(const GodotShape3D *p_shape_A, const Transform3D &p_transform_A, const GodotShape3D *p_shape_B, const Transform3D &p_transform_B, GodotCollisionSolver3D::CallbackResult p_result_callback, void *p_userdata, bool p_swap = false, real_t p_margin_A = 0.0, real_t p_margin_B = 0.0);
|
||||
bool gjk_epa_calculate_distance(const GodotShape3D *p_shape_A, const Transform3D &p_transform_A, const GodotShape3D *p_shape_B, const Transform3D &p_transform_B, Vector3 &r_result_A, Vector3 &r_result_B);
|
||||
|
||||
#endif
|
||||
#endif // GJK_EPA_H
|
||||
|
|
|
|||
|
|
@ -28,11 +28,11 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_COLLISION_SOLVER_SAT_H
|
||||
#define GODOT_COLLISION_SOLVER_SAT_H
|
||||
#ifndef GODOT_COLLISION_SOLVER_3D_SAT_H
|
||||
#define GODOT_COLLISION_SOLVER_3D_SAT_H
|
||||
|
||||
#include "godot_collision_solver_3d.h"
|
||||
|
||||
bool sat_calculate_penetration(const GodotShape3D *p_shape_A, const Transform3D &p_transform_A, const GodotShape3D *p_shape_B, const Transform3D &p_transform_B, GodotCollisionSolver3D::CallbackResult p_result_callback, void *p_userdata, bool p_swap = false, Vector3 *r_prev_axis = nullptr, real_t p_margin_a = 0, real_t p_margin_b = 0);
|
||||
|
||||
#endif // GODOT_COLLISION_SOLVER_SAT_H
|
||||
#endif // GODOT_COLLISION_SOLVER_3D_SAT_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue