Skip to content

Typo in smooth_heaviside? #19

@Yanksi

Description

@Yanksi

In smooth_heaviside.glsl, $t$ is described as:

//   t  control steepness of step function: --> 0 more linear, --> inf more like
//     Heaviside function (piecewise constant function x<0--> -1 , x>0 --> 1)

However, when I was trying to plot the function, it seems that the boundary point should be 0.5 instead of 0.
img1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions