ProtoFlux:RotateLeft: Difference between revisions

From Resonite Wiki
Fixed node visual.
m YoshBot moved page ProtoFlux:Rotate Left to ProtoFlux:RotateLeft: Automated: removing spaces from ProtoFlux namespace
 
(One intermediate revision by one other user not shown)
Line 21: Line 21:
The value we want to rotate.
The value we want to rotate.


=== Shift ([[Type:int|int]]) ===
=== Rotate ([[Type:int|int]]) ===


The amount to rotate this value by to the left.
The amount to rotate this value by to the left.

Latest revision as of 00:33, 21 August 2025

ROL
A
*
Rotate
Boolean

The Rotate Left node takes in a value we want to rotate (using a bitwise operation, called a circular shift) and the amount we want to rotate by to the left, and returns the new rotated value. Rotating is the act of moving the bits in a byte in a direction, and when rotating, the bits that fall outside the bounds will cycle around to the other side of the byte.

Inputs

A (Pseudo-Generic)

The value we want to rotate.

Rotate (int)

The amount to rotate this value by to the left.

Outputs

* (Pseudo-Generic)

The new rotated value.

Further Reading

See Also