Skip to content

Commit

Permalink
bit of a hack, but useful
Browse files Browse the repository at this point in the history
  • Loading branch information
rms80 committed Jul 8, 2018
1 parent da164ab commit d6debfb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion implicit/Implicit3d.cs
Expand Up @@ -636,6 +636,7 @@ public class SkeletalRicciNaryBlend3d : BoundedImplicitFunction3d
{
public List<BoundedImplicitFunction3d> Children;
public double BlendPower = 2.0;
public double FieldShift = 0;

public double Value(ref Vector3d pt)
{
Expand All @@ -657,7 +658,7 @@ public double Value(ref Vector3d pt)
}
f = Math.Pow(f, 1.0 / BlendPower);
}
return f;
return f + FieldShift;
}

public AxisAlignedBox3d Bounds()
Expand Down

0 comments on commit d6debfb

Please sign in to comment.