Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: What I can do with the MOUSE function?

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2000
    Location
    LA,CA,USA
    Posts
    14

    What I can do with the MOUSE function?

    I want to do the following,
    in a viewport, first use right button to start a menu and select a object to operate.
    after select an object, I need use the right button to translate the object according to the mouse position.

    What can I do since I have defined the menu with the right button, how can I use the right button to do more actions?
    Best regards,
    Jojo Zhong

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jun 2000
    Location
    Shreveport, LA, USA
    Posts
    1,757

    Re: What I can do with the MOUSE function?

    Use a state machine algorithm.

  3. #3
    Junior Member Newbie
    Join Date
    Aug 2000
    Location
    LA,CA,USA
    Posts
    14

    Re: What I can do with the MOUSE function?

    Thanks, but can u explain a bit more detail? coz I am not familiar with it
    Best regards,
    Jojo Zhong

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •