chore: removed untaken branches
This commit is contained in:
parent
078200c3f2
commit
9ea423a2cb
1 changed files with 0 additions and 6 deletions
|
|
@ -287,12 +287,6 @@ float TerrainModifierPath::evaluate_line(Vector3 a, bool a_end, Vector3 b, bool
|
|||
out_dot = right.normalized().dot(relative_coordinate);
|
||||
out_distance = world_coordinate.distance_to({ closest_on_line.x, closest_on_line.z });
|
||||
out_percentage = w;
|
||||
if (false && !a_end) {
|
||||
w = w < 0 ? 0 : w;
|
||||
}
|
||||
if (false && !b_end) {
|
||||
w = w > 1 ? 1 : w;
|
||||
}
|
||||
return a.y + (b.y - a.y) * w;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue