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/Radius: Difference between revisions
From SnesLab
(see also) |
(added parameters) |
||
Line 6: | Line 6: | ||
|} | |} | ||
'''Radius''' is a DSP1 command. | '''Radius''' is a [[DSP1]] command that calculates the squared length of a vector. | ||
=== Input Parameters === | |||
* '''x''' is a vector component | |||
* '''y''' is a vector component | |||
* '''z''' is a vector component | |||
=== Output Parameters === | |||
* '''L''' is the square of the vector length | |||
=== See Also === | === See Also === |
Revision as of 04:42, 15 July 2023
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Opcode | 08 |
Radius is a DSP1 command that calculates the squared length of a vector.
Input Parameters
- x is a vector component
- y is a vector component
- z is a vector component
Output Parameters
- L is the square of the vector length
See Also
References
- page 3-5-4 of Book II of the official Super Nintendo development manual