You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Revert "Renamed plane's d to distance"
This reverts commit ec7b481170.
This was wrong, `d` is not a distance but the `d` constant in the
parametric equation `ax + by + cz = d` describing the plane.
This commit is contained in:
@@ -255,7 +255,7 @@ Error MeshDataTool::commit_to_surface(const Ref<ArrayMesh> &p_mesh) {
|
||||
ta[i * 4 + 0] = vtx.tangent.normal.x;
|
||||
ta[i * 4 + 1] = vtx.tangent.normal.y;
|
||||
ta[i * 4 + 2] = vtx.tangent.normal.z;
|
||||
ta[i * 4 + 3] = vtx.tangent.distance;
|
||||
ta[i * 4 + 3] = vtx.tangent.d;
|
||||
}
|
||||
if (uv)
|
||||
uv[i] = vtx.uv;
|
||||
|
||||
Reference in New Issue
Block a user