title: Swift OpenGL type conversion
body: <p>When creating an OpenGL-es application in swift, you have to convert all the parameters to their gl equivalenets. For example...</p>
  
  <pre><code>func createCamera(screenWidth:Int, screenHeight:Int){
      glViewport(GLint(0), GLint(0), GLsizei(screenWidth), GLsizei(screenHeight));
  
  }
  </code></pre>
  
  <p>As you can see I have to convert every glViewPort() parameter to the data type that OpenGL likes, such as <strong>Glint</strong>. Is there a more efficient way of doing this? I feel like with swift all I've been doing is wrapping everything.</p>