Fix various typos and code style issues
This commit is contained in:
@@ -468,7 +468,7 @@ static void _rest_cbk_result(const Vector3 &p_point_A, int p_index_A, const Vect
|
||||
real_t tested_len = is_best_result ? rd->best_result.len : len;
|
||||
for (; result_index < prev_result_count - 1; ++result_index) {
|
||||
if (tested_len > rd->other_results[result_index].len) {
|
||||
// Re-using a previous result.
|
||||
// Reusing a previous result.
|
||||
rd->result_count--;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -96,7 +96,7 @@ void GodotPinJoint3D::solve(real_t p_step) {
|
||||
|
||||
Vector3 rel_pos1 = pivotAInW - A->get_transform().origin;
|
||||
Vector3 rel_pos2 = pivotBInW - B->get_transform().origin;
|
||||
//this jacobian entry could be re-used for all iterations
|
||||
//this jacobian entry could be reused for all iterations
|
||||
|
||||
Vector3 vel1 = A->get_velocity_in_local_point(rel_pos1);
|
||||
Vector3 vel2 = B->get_velocity_in_local_point(rel_pos2);
|
||||
|
||||
Reference in New Issue
Block a user