Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/references/translations/en/processing/rotate_.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"radians_"
],
"name": "rotate()",
"description": "Rotates a shape the amount specified by the <b>angle</b> parameter.\n Angles should be specified in radians (values from 0 to TWO_PI) or\n converted to radians with the <b>radians()</b> function.\n <br/> <br/>\n Objects are always rotated around their relative position to the origin\n and positive numbers rotate objects in a clockwise direction.\n Transformations apply to everything that happens after and subsequent\n calls to the function accumulates the effect. For example, calling\n <b>rotate(HALF_PI)</b> and then <b>rotate(HALF_PI)</b> is the same as\n <b>rotate(PI)</b>. All transformations are reset when <b>draw()</b>\n begins again.\n <br/> <br/>\n Technically, <b>rotate()</b> multiplies the current transformation\n matrix by a rotation matrix. This function can be further controlled by\n the <b>pushMatrix()</b> and <b>popMatrix()</b>.",
"description": "Rotates a shape the amount specified by the <b>angle</b> parameter.\n Angles should be specified in radians (values from 0 to TWO_PI) or\n converted to radians with the <b>radians()</b> function.\n <br/> <br/>\n Objects are always rotated around their relative position to the origin\n and positive numbers rotate objects in a clockwise direction.\n Transformations apply to everything that happens after and subsequent\n calls to the function accumulates the effect. For example, calling\n <b>rotate(HALF_PI)</b> and then <b>rotate(HALF_PI)</b> is the same as\n <b>rotate(PI)</b>. All transformations are reset when <b>draw()</b>\n begins again.\n <br/> <br/>\n Technically, <b>rotate()</b> multiplies the current transformation\n matrix by a rotation matrix. This function can be further controlled by\n the <b>pushMatrix()</b> and <b>popMatrix()</b>. When used with the P3D renderer, behaves like <b>rotateZ()</b>.",
"syntax": ["rotate(angle)"],
"returns": "void",
"type": "function",
Expand Down