Skip to content

Instantly share code, notes, and snippets.

@adielfernandez
Created March 7, 2018 23:24
Show Gist options
  • Select an option

  • Save adielfernandez/fb19565a0d15cbd84de9e68b6688adaf to your computer and use it in GitHub Desktop.

Select an option

Save adielfernandez/fb19565a0d15cbd84de9e68b6688adaf to your computer and use it in GitHub Desktop.

Revisions

  1. adielfernandez created this gist Mar 7, 2018.
    2 changes: 2 additions & 0 deletions gaussian.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    float x;
    float y = (1.0f / (0.4f * sqrt( glm::two_pi<float>() ) )) * exp( -0.5f * pow( ( x - 0.5f )/0.13, 2 ) );