未验证 提交 4cb966e6 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #15524 from linbingquan/clean-up

Examples: Clean up
......@@ -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 );
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册