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
Jump to: navigation, search
(moved table up)
(added parameters)
Line 6: Line 6:
|}
|}


'''Polar''' is a DSP1 command.
'''Polar''' is a [[DSP1]] command that performs a rotation of 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


=== References ===
=== References ===

Revision as of 04:58, 15 July 2023

Basic Info
Opcode 1C

Polar is a DSP1 command that performs a rotation of 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

References