2
0
Эх сурвалжийг харах

Merge pull request #15524 from linbingquan/clean-up

Examples: Clean up
Mr.doob 6 жил өмнө
parent
commit
4cb966e6e8

+ 6 - 2
examples/js/offscreen/scene.js

@@ -71,7 +71,11 @@ function animate() {
 // PRNG
 
 var seed = 1;
+
 function random() {
-	var x = Math.sin(seed++) * 10000;
-	return x - Math.floor(x);
+
+	var x = Math.sin( seed ++ ) * 10000;
+
+	return x - Math.floor( x );
+
 }