# Rotate function with 4 arguments

**URL:** https://discourse.processing.org/t/rotate-function-with-4-arguments/5652
**Category:** Processing
**Tags:** homework
**Created:** [November 18, 2018, 12:08am UTC](https://discourse.processing.org/t/rotate-function-with-4-arguments/5652 "2018-11-18T00:08:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![moonspacedancer](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@moonspacedancer](https://discourse.processing.org/u/moonspacedancer)
#### Post date: [November 18, 2018, 12:08am UTC](https://discourse.processing.org/t/rotate-function-with-4-arguments/5652/1 "2018-11-18T00:08:07Z")

</div>

In my studying today, I have come across a rotate function with 4 arguments more than once, except can’t find any documentation on it. anyone know anything about this?

---

<div class="post-metadata">

### Author: ![TfGuy44](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tfguy44/32/41_2.png) [@TfGuy44](https://discourse.processing.org/u/TfGuy44)
#### Post date: [November 18, 2018, 1:35am UTC](https://discourse.processing.org/t/rotate-function-with-4-arguments/5652/2 "2018-11-18T01:35:49Z")

</div>

> <https://github.com/processing/processing/blob/5391a001a0625066182b11618f3e014e482327d7/core/src/processing/core/PGraphics.java#L5373>

[https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glRotate.xml](https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glRotate.xml)

Enjoy!

---

<div class="post-metadata">

### Author: ![moonspacedancer](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@moonspacedancer](https://discourse.processing.org/u/moonspacedancer)
#### Post date: [November 18, 2018, 1:54am UTC](https://discourse.processing.org/t/rotate-function-with-4-arguments/5652/3 "2018-11-18T01:54:07Z")

</div>

oh thank you v much!
