quaternion

Creates a new buffer of quaternions with the specified size, where each element is calculated by calling the specified init function.