title: How to calculate vec4 cross product with glm?
body: <p>Why this throws an compilation error: no matching function for call to ‘cross(glm::vec4&amp;, glm::vec4&amp;)’</p>
  
  <pre><code>glm::vec4 a;
  glm::vec4 b;
  glm::vec4 c = glm::cross(a, b);
  </code></pre>
  
  <p>but it works fine for vec3?</p>