Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatically control rotation of a Cube



I have the interpolation patch/custom timebase/stop watch working correctly; however, the starting and stopping of the rotation is not reliable because determining wether or not the output of the interpolation is equal to my stop rotation is difficult to grab. I have added a 1 degree tolerance; nonetheless this is not consistent either.

Any ideas on how to get precise control over when to start/stop the rotation based on the current/stop angles?

Can't you use a "greater than" comparison instead of an "equal with tolerance"?


________________________________________________________
Pierre-Olivier Latour                            email@hidden
Quartz Composer Architect                Graphics & Imaging Team

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >Programmatically control rotation of a Cube (From: Ben Dunton <email@hidden>)
 >Re: Programmatically control rotation of a Cube (From: Pierre-Olivier Latour <email@hidden>)
 >Re: Programmatically control rotation of a Cube (From: Benjamin Dunton <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.