title: Understanding glm::lookAt()
body: <p>I am following a <a href="http://open.gl" rel="noreferrer">tutorial</a> to learn OpenGL in which they used <code>glm::lookAt()</code> function to build a view but I cannot understand the working of <code>glm::lookAt()</code> and apparently, there is no detailed documentation of GLM. Can anyone help me understand the parameters and working of <code>glm::lookAt()</code> please?</p>
  
  <p>GLM documentation says:</p>
  
  <pre><code>detail::tmat4x4&lt;T&gt; glm::gtc::matrix_transform::lookAt   
  (   
      detail::tvec3&lt; T &gt; const &amp;  eye,
      detail::tvec3&lt; T &gt; const &amp;  center,
      detail::tvec3&lt; T &gt; const &amp;  up 
  )
  </code></pre>
  
  <p>My current understanding is that camera is located at <code>eye</code> and is faced towards <code>center</code>. (And I don't know what the <code>up</code> is)</p>