Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed duplicate method from c3dapi.js

  • Loading branch information...
commit 0492c421a2541f773ab03de57fbeaf1a6bacd986 1 parent c4deeb2
unknown authored
Showing with 0 additions and 12 deletions.
  1. +0 −12 c3dl/c3dapi.js
View
12 c3dl/c3dapi.js
@@ -173,15 +173,3 @@ c3dl_require('interaction/collision.js');
c3dl_require('interaction/picking.js');
c3dl_require('interaction/pickingresult.js');
-//Function to call the various versions of requestAnimationFrame
-//To be updated when this is properly standardized.
-window.requestAnimFrame = (function(callback){
- return window.requestAnimationFrame ||
- window.webkitRequestAnimationFrame ||
- window.mozRequestAnimationFrame ||
- window.oRequestAnimationFrame ||
- window.msRequestAnimationFrame ||
- function(/* function */ callback, /* DOMElement */ element){
- window.setTimeout(callback, 1000 / 60);
- };
- })();
Please sign in to comment.
Something went wrong with that request. Please try again.