Updated pthreads version on Travis-CI

This commit is contained in:
Shoghi Cervantes 2014-09-28 12:50:03 +02:00
parent 2ded2013bf
commit 7fea29e874
2 changed files with 3 additions and 4 deletions

View File

@ -9,7 +9,7 @@ branches:
before_script:
- mkdir plugins
- wget -O plugins/DevTools.phar https://github.com/PocketMine/DevTools/releases/download/v1.9.0/DevTools_v1.9.0.phar
- pecl install channel://pecl.php.net/pthreads-2.0.8
- pecl install channel://pecl.php.net/pthreads-2.0.9
- pecl install channel://pecl.php.net/weakref-0.2.4
- echo | pecl install channel://pecl.php.net/yaml-1.1.1

View File

@ -25,11 +25,10 @@ use pocketmine\utils\Random;
/**
* Generates simplex-based noise.
* <p>
*
* This is a modified version of the freely published version in the paper by
* Stefan Gustavson at
* <a href="http://staffwww.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf">
* http://staffwww.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf</a>
* http://staffwww.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf
*/
class Simplex extends Perlin{
protected static $SQRT_3;