Created
March 7, 2018 23:24
-
-
Save adielfernandez/fb19565a0d15cbd84de9e68b6688adaf to your computer and use it in GitHub Desktop.
Normalized Gaussian Distribution
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float x; | |
float y = (1.0f / (0.4f * sqrt( glm::two_pi<float>() ) )) * exp( -0.5f * pow( ( x - 0.5f )/0.13, 2 ) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment