瀏覽代碼

README: Added RequestAnimationFrame.js tip

Mr.doob 14 年之前
父節點
當前提交
ddc078a3bf
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      LICENSE
  2. 1 1
      README.md

+ 1 - 1
LICENSE

@@ -1,6 +1,6 @@
 The MIT License
 The MIT License
 
 
-Copyright (c) 2010-2011 Three.js Authors. All rights reserved.
+Copyright (c) 2010-2011 three.js Authors. All rights reserved.
 
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 of this software and associated documentation files (the "Software"), to deal

+ 1 - 1
README.md

@@ -117,7 +117,7 @@ This code creates a camera, then creates a scene object, adds a bunch of random
 
 
 		function animate() {
 		function animate() {
 
 
-			requestAnimationFrame( animate );
+			requestAnimationFrame( animate ); // Include examples/js/RequestAnimationFrame.js for cross-browser compatibility.
 			render();
 			render();
 
 
 		}
 		}