Browse Source

README: Added RequestAnimationFrame.js tip

Mr.doob 14 năm trước cách đây
mục cha
commit
ddc078a3bf
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      LICENSE
  2. 1 1
      README.md

+ 1 - 1
LICENSE

@@ -1,6 +1,6 @@
 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
 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() {
 
-			requestAnimationFrame( animate );
+			requestAnimationFrame( animate ); // Include examples/js/RequestAnimationFrame.js for cross-browser compatibility.
 			render();
 
 		}