Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
fire committed Dec 9, 2024
1 parent c737f0c commit ebed021
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 16 deletions.
6 changes: 3 additions & 3 deletions modules/constraint_ik/src/ik_bone_3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/

#ifndef IK_BONE_3D_H
#define IK_BONE_3D_H
#ifndef IK_CONSTRAINT_BONE_3D_H
#define IK_CONSTRAINT_BONE_3D_H

#include "ik_effector_template_3d.h"
#include "ik_kusudama_3d.h"
Expand Down Expand Up @@ -119,4 +119,4 @@ class IKConstraintBone3D : public Resource {
Vector3 calculate_weighted_direction(const TypedArray<IKLimitCone3D> &p_cones, float p_total_radius_sum) const;
};

#endif // IK_BONE_3D_H
#endif // IK_CONSTRAINT_BONE_3D_H
6 changes: 3 additions & 3 deletions modules/constraint_ik/src/ik_bone_segment_3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/

#ifndef IK_BONE_SEGMENT_3D_H
#define IK_BONE_SEGMENT_3D_H
#ifndef IK_CONSTRAINT_BONE_SEGMENT_3D_H
#define IK_CONSTRAINT_BONE_SEGMENT_3D_H

#include "ik_bone_3d.h"
#include "ik_effector_3d.h"
Expand Down Expand Up @@ -102,4 +102,4 @@ class IKConstraintBoneSegment3D : public Resource {
~IKConstraintBoneSegment3D() {}
};

#endif // IK_BONE_SEGMENT_3D_H
#endif // IK_CONSTRAINT_BONE_SEGMENT_3D_H
6 changes: 3 additions & 3 deletions modules/constraint_ik/src/ik_effector_3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/

#ifndef IK_EFFECTOR_3D_H
#define IK_EFFECTOR_3D_H
#ifndef IK_CONSTRAINT_EFFECTOR_3D_H
#define IK_CONSTRAINT_EFFECTOR_3D_H

#include "core/object/ref_counted.h"
#include "scene/3d/skeleton_3d.h"
Expand Down Expand Up @@ -82,4 +82,4 @@ class IKConstraintEffector3D : public Resource {
IKConstraintEffector3D(const Ref<IKConstraintBone3D> &p_current_bone);
};

#endif // IK_EFFECTOR_3D_H
#endif // IK_CONSTRAINT_EFFECTOR_3D_H
6 changes: 3 additions & 3 deletions modules/constraint_ik/src/ik_effector_template_3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/

#ifndef IK_EFFECTOR_TEMPLATE_3D_H
#define IK_EFFECTOR_TEMPLATE_3D_H
#ifndef IK_CONSTRAINT_EFFECTOR_TEMPLATE_3D_H
#define IK_CONSTRAINT_EFFECTOR_TEMPLATE_3D_H

#include "core/io/resource.h"
#include "core/string/node_path.h"
Expand Down Expand Up @@ -59,4 +59,4 @@ class IKConstraintEffectorTemplate3D : public Resource {
IKConstraintEffectorTemplate3D();
};

#endif // IK_EFFECTOR_TEMPLATE_3D_H
#endif // IK_CONSTRAINT_EFFECTOR_TEMPLATE_3D_H
5 changes: 3 additions & 2 deletions modules/constraint_ik/src/ik_kusudama_3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/

#ifndef IK_KUSUDAMA_3D_H
#define IK_KUSUDAMA_3D_H
#ifndef IK_CONSTRAINT_KUSUDAMA_3D_H
#define IK_CONSTRAINT_KUSUDAMA_3D_H

#include "ik_bone_3d.h"
#include "ik_bone_segment_3d.h"
Expand All @@ -45,6 +45,7 @@

class IKConstraintBone3D;
class IKLimitCone3D;
class IKConstraintNode3D;
class IKKusudama3D : public Resource {
GDCLASS(IKKusudama3D, Resource);

Expand Down
4 changes: 2 additions & 2 deletions modules/constraint_ik/src/math/ik_node_3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/

#ifndef IK_NODE_3D_H
#define IK_NODE_3D_H
#ifndef IK_CONSTRAINT_NODE_3D_H
#define IK_CONSTRAINT_NODE_3D_H

#include "core/object/ref_counted.h"
#include "core/templates/list.h"
Expand Down

0 comments on commit ebed021

Please sign in to comment.