Created
February 16, 2014 04:50
-
-
Save grondilu/9029407 to your computer and use it in GitHub Desktop.
midpoint random displacement should not alter the extremities of the edge
This file contains 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
336,339c336,337 | |
< if (!params->use_fractal) { | |
< alter_co(v1, &e_tmp, params, 0, &v1_tmp, &v2_tmp); | |
< alter_co(v2, &e_tmp, params, 1.0, &v1_tmp, &v2_tmp); | |
< } | |
--- | |
> alter_co(v1, &e_tmp, params, 0, &v1_tmp, &v2_tmp); | |
> alter_co(v2, &e_tmp, params, 1.0, &v1_tmp, &v2_tmp); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment