3D场景响应mouseDown的怪状[未解]

director,lingo中. 

mousedown的repeat中貌似每次都需要有足够的等待时间,否则会很难响应。

下面repeat中的首句put删除以后,3d场景的响应效率反而会非常低下。

 疑问! 

on mouseDown me
  p_lastdownH = the mouseH
  p_angle = 0
  repeat while the mousedown 
    put the mouseh
    _angle =  (the mouseH - p_lastdownH).float * 0.1
    pScene.model("My Cube").rotate(0,0,_angle)
    updateStage
    p_lastdownH = the mouseH
    p_angle = p_angle + _angle
  end repeat
end

解释:

尚无 

原文地址:https://www.cnblogs.com/mumuliang/p/2236523.html