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

◆ RotateLeft() [1/2]

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

Definition at line 304 of file Int16.cs.

305 {
306 return (short)((value << (rotateAmount & 0xF)) | ((ushort)value >> ((16 - rotateAmount) & 0xF)));
307 }

References System.value.