You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Renamed plane's d to distance
This commit is contained in:
@@ -1237,7 +1237,7 @@ void Curve3D::_bake() const {
|
||||
p = mid;
|
||||
Plane post;
|
||||
post.normal = pos;
|
||||
post.d = Math::lerp(points[i].tilt, points[i + 1].tilt, mid);
|
||||
post.distance = Math::lerp(points[i].tilt, points[i + 1].tilt, mid);
|
||||
pointlist.push_back(post);
|
||||
} else {
|
||||
|
||||
@@ -1274,7 +1274,7 @@ void Curve3D::_bake() const {
|
||||
for (List<Plane>::Element *E = pointlist.front(); E; E = E->next()) {
|
||||
|
||||
w[idx] = E->get().normal;
|
||||
wt[idx] = E->get().d;
|
||||
wt[idx] = E->get().distance;
|
||||
|
||||
if (!up_vector_enabled) {
|
||||
idx++;
|
||||
|
||||
Reference in New Issue
Block a user