Hey i need your help with the rotation.
here the part of the code which relates to my question:
float rotation = map(sin(radians(frameCount)), 1, -1, 45, -45);
rotateY(radians(rotation));
Hey i need your help with the rotation.
here the part of the code which relates to my question:
float rotation = map(sin(radians(frameCount)), 1, -1, 45, -45);
rotateY(radians(rotation));
radians(frameCount%360)
ah so easy! many thanks!