Mailing Lists: Apple Mailing Lists

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

FW: Parameterized Coord's & Rotations



Title: FW: Parameterized Coord's & Rotations

For the dice game I'm writing, I want each of the dice to have "Position" and "Face Showing" attributes.  Each possible position has a specific x,y,z coordinate.  Each face has a specific x,y,z rotation that coincides with that face showing.

I want to be able to translate a position 1, face showing 1 attribute pair to the x,y,z coord for position 1 and the x,y,z rotation for face 1 showing.  I think I could do this with a crapload of input splitters and multiplexers, but I thought it might be simpler to just use a _javascript_ patch that takes two inputs (position and face) and gives six outputs (x, y, z, x rotation, y rotation, z rotation).

Any thoughts on the best way to do this?  Am I on the right track with the _javascript_ patch?

 _______________________________________________
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



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.