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

◆ RotateRight() [1/2]

static short IBinaryInteger< short >. System.Int16.RotateRight ( short value,
int rotateAmount )
inlinestatic

Definition at line 310 of file Int16.cs.

311 {
312 return (short)(((ushort)value >> (rotateAmount & 0xF)) | (value << ((16 - rotateAmount) & 0xF)));
313 }

References System.value.