# Understanding rotate before translate

**URL:** https://discourse.processing.org/t/understanding-rotate-before-translate/8631
**Category:** Beginners
**Created:** [February 22, 2019, 2:05pm UTC](https://discourse.processing.org/t/understanding-rotate-before-translate/8631 "2019-02-22T14:05:55Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![neilcsmith](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/neilcsmith/32/144_2.png) [@neilcsmith](https://discourse.processing.org/u/neilcsmith)
#### Post date: [February 24, 2019, 7:27pm UTC](https://discourse.processing.org/t/understanding-rotate-before-translate/8631/12 "2019-02-24T19:27:34Z")

</div>

I thought it would clash with an existing P3D `rotate()` method but it seems not. Always thought it should be more like `rotateAt()` or `rotateAround()`. I have a few extra methods like that in PraxisLIVE (such as 7 parameter `image()`) but haven’t quite got around to this one yet.

Interestingly, there is a 4 parameter version of `rotate()` in Processing already though -

```auto
/**
   * Rotate around an arbitrary vector, similar to glRotate(), except that it
   * takes radians (instead of degrees).
   */

public void rotate(float angle, float v0, float v1, float v2)

```

---

_[View the full topic](https://discourse.processing.org/t/understanding-rotate-before-translate/8631)._
