pub fn rotateElementsLeft(vec: anytype, comptime amount: VectorCount(@TypeOf(vec))) @TypeOf(vec) vecamount: VectorCount(@TypeOf(vec))278
279
280pub fn rotateElementsLeft(vec: anytype, comptime amount: VectorCount(@TypeOf(vec))) @TypeOf(vec) {
return mergeShift(vec, vec, amount);
}
Elements are shifted leftwards (towards lower indices). Elements that leave to the left will reappear to the right in the same order.