README: Added RequestAnimationFrame.js tip

This commit is contained in:
Mr.doob
2011-02-27 03:14:10 +00:00
parent 7480fb69cd
commit ddc078a3bf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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();
}