title: How to use "cross" for finding the cross product of two vectors(OpenGL)?
body: <p>I got a task to find if two vectors are coolinear(the z axis and the camera vector). I found a command named cross. The definition is this:</p>
  
  <p>vec3 cross(vec3 x,vec3 y);</p>
  
  <p>My logic tell me that the function is this </p>
  
  <pre><code>glm::vec3 Cproduct(glm::vec3 a, glm::vec3 b){
  
    return glm::vec3 cross(a,b);
  
  }
  </code></pre>
  
  <p>But It doesnt work, it says ";" expected before cross. How to construct a function that takes 2 vectors, and returns the cross product of them two?</p>