autodesk-forge 模型旋轉程式碼

hcd1129發表於2020-11-02
 var that = this;
  (function animate() {
    if (that.recordTime) {
      requestAnimationFrame(animate);
    }
    // Is there an assumption here about the order of animation frame callbacks?
    var now = Date.now();
    deltaTime = now - startTime;
    startTime = now;
  })();

相關文章