title: Three.js Rotate Texture
body: <p>I have a texture applied to a mesh I can change the offset with </p>
  
  <pre><code>mesh.material.map.offset.set
  </code></pre>
  
  <p>I can change the scaling with </p>
  
  <pre><code>mesh.material.repeat.set
  </code></pre>
  
  <p>so my question is, how can I rotate texture inside a plane?</p>
  
  <h2>Example:</h2>
  
  <p>From This:</p>
  
  <p><img src="https://i.stack.imgur.com/7nmnV.png" alt="enter image description here"></p>
  
  <p>To this</p>
  
  <p><img src="https://i.stack.imgur.com/38coe.jpg" alt="enter image description here"></p>
  
  <p>Thanks.</p>