Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ RotateRight() [2/2]

static ushort IBinaryInteger< ushort >. System.UInt16.RotateRight ( ushort value,
int rotateAmount )
inlinestatic

Definition at line 308 of file UInt16.cs.

309 {
310 return (ushort)((value >> (rotateAmount & 0xF)) | (value << ((16 - rotateAmount) & 0xF)));
311 }

References System.value.