Skip to content

Commit

Permalink
Format code.
Browse files Browse the repository at this point in the history
  • Loading branch information
fire committed Dec 9, 2023
1 parent 724ebf0 commit ec38df7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ik_kusudama_3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class IKKusudama3D : public Resource {

public:
~IKKusudama3D() {
limit_cones.clear();
limit_cones.clear();
}

IKKusudama3D() {}
Expand Down
4 changes: 2 additions & 2 deletions src/ik_limit_cone_3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ Vector3 IKLimitCone3D::get_on_great_tangent_triangle(Ref<IKLimitCone3D> next, Ve
Vector3 IKLimitCone3D::_closest_cone(Ref<IKLimitCone3D> next, Vector3 input) const {
if (next.is_null()) {
return control_point;
}
}
if (input.dot(control_point) > input.dot(next->control_point)) {
return control_point;
} else {
Expand Down Expand Up @@ -405,7 +405,7 @@ void IKLimitCone3D::set_tangent_circle_center_next_2(Vector3 point) {
Vector3 IKLimitCone3D::_get_on_path_sequence(Ref<IKLimitCone3D> next, Vector3 input) const {
if (next.is_null()) {
return Vector3(NAN, NAN, NAN);
}
}
Vector3 c1xc2 = get_control_point().cross(next->control_point).normalized();
double c1c2dir = input.dot(c1xc2);
if (c1c2dir < 0.0) {
Expand Down

0 comments on commit ec38df7

Please sign in to comment.