We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
DSP1/Polar: Difference between revisions
From SnesLab
(see also Rotate) |
(shorter description) |
||
Line 9: | Line 9: | ||
|} | |} | ||
'''Polar''' is a [[DSP1]] command that | '''Polar''' is a [[DSP1]] command that rotates a point about an arbitrary axis. | ||
=== Input Parameters === | === Input Parameters === |
Revision as of 19:12, 15 July 2023
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Opcode | 1C | ||||||
Speed | 147 cycles |
Polar is a DSP1 command that rotates a point about an arbitrary axis.
Input Parameters
- x is a coordinate before rotation
- y is a coordinate before rotation
- z is a coordinate before rotation
Output Parameters
- X is a coordinate after rotation
- Y is a coordinate after rotation
- Z is a coordinate after rotation
See Also
References
- Page 3-5-9 of Book II of the official Super Nintendo development manual