Explorar o código

Merge pull request #16576 from Mugen87/dev30

Examples: Remove PRNG.js
Mr.doob %!s(int64=6) %!d(string=hai) anos
pai
achega
e33457c50d
Modificáronse 1 ficheiros con 0 adicións e 23 borrados
  1. 0 23
      examples/js/PRNG.js

+ 0 - 23
examples/js/PRNG.js

@@ -1,23 +0,0 @@
-// Park-Miller-Carta Pseudo-Random Number Generator
-// https://github.com/pnitsch/BitmapData.js/blob/master/js/BitmapData.js
-
-var PRNG = function () {
-
-	this.seed = 1;
-	this.next = function() {
-
-		return ( this.gen() / 2147483647 );
-
-	};
-	this.nextRange = function( min, max )	{
-
-		return min + ( ( max - min ) * this.next() )
-
-	};
-	this.gen = function() {
-
-		return this.seed = ( this.seed * 16807 ) % 2147483647;
-
-	};
-
-};