Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java 3D > Re: I Only Want...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 742 of 818
Post > Topic >>

Re: I Only Want To Rotate Around One Axis

by Miss Elaine Eos <Misc@[EMAIL PROTECTED] > Apr 7, 2007 at 03:45 AM

In article <1175091123.589634.111140@[EMAIL PROTECTED]
>,
 "aaronhirshberg@[EMAIL PROTECTED]
" <aaronhirshberg@[EMAIL PROTECTED]
> wrote:

> The Deitel book with the Java 3D chapter has a good example of how to
> use the mouse to implement translation and rotation.  If I only want
> to rotate around one axis, is there some way to take this Deitel mouse
> rotation control and turn off the X and Z axes?

I've not looked at the APIs in a while, but can you not subclass the 
control, and just override the other two rotations to always be 0?

-- 
Please take off your pants or I won't read your e-mail.
I will not, no matter how "good" the deal, patronise any business which
sends
unsolicited commercial e-mail or that advertises in discussion newsgroups.




 2 Posts in Topic:
I Only Want To Rotate Around One Axis
"aaronhirshberg@[EMA  2007-03-28 07:12:03 
Re: I Only Want To Rotate Around One Axis
Miss Elaine Eos <Misc@  2007-04-07 03:45:43 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 7:37:43 CDT 2008.