zoukankan      html  css  js  c++  java
  • 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

    解释:

    尚无 

  • 相关阅读:
    2020.02.22周末作业清单
    2020.2.21作业清单
    2020.2.20作业清单
    数学题目
    2020.2.19作业单
    Request对象
    HTTP协议
    http协议
    tomcate
    servlet-3-相关配置
  • 原文地址:https://www.cnblogs.com/mumuliang/p/2236523.html
Copyright © 2011-2022 走看看