2012-09-05 22:30:34 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
2012-11-18 13:05:52 +00:00
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2013-12-25 22:48:55 +00:00
< meta name = "generator" content = "Doxygen 1.8.5" / >
< title > GLM: Differences between GLSL and GLM core< / title >
2012-09-05 22:30:34 +00:00
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
2012-11-18 13:05:52 +00:00
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
2012-09-05 22:30:34 +00:00
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
2012-11-18 13:05:52 +00:00
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
2012-09-05 22:30:34 +00:00
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
2013-12-25 22:48:55 +00:00
< td style = "padding-left: 0.5em;" >
< div id = "projectname" > GLM
  < span id = "projectnumber" > 0.9.5< / span >
< / div >
< / td >
2012-09-05 22:30:34 +00:00
< / tr >
< / tbody >
< / table >
< / div >
2012-11-18 13:05:52 +00:00
<!-- end header part -->
2013-12-25 22:48:55 +00:00
<!-- Generated by Doxygen 1.8.5 -->
2012-09-05 22:30:34 +00:00
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
2013-12-25 22:48:55 +00:00
< li class = "current" > < a href = "pages.html" > < span > Related  Pages< / span > < / a > < / li >
2012-09-05 22:30:34 +00:00
< li > < a href = "modules.html" > < span > Modules< / span > < / a > < / li >
2013-12-25 22:48:55 +00:00
< li > < a href = "namespaces.html" > < span > Namespaces< / span > < / a > < / li >
< li > < a href = "files.html" > < span > Files< / span > < / a > < / li >
2012-09-05 22:30:34 +00:00
< / ul >
< / div >
2012-11-18 13:05:52 +00:00
< / div > <!-- top -->
2012-09-05 22:30:34 +00:00
< div class = "header" >
< div class = "headertitle" >
2013-12-25 22:48:55 +00:00
< div class = "title" > Differences between GLSL and GLM core < / div > < / div >
2012-11-18 13:05:52 +00:00
< / div > <!-- header -->
2012-09-05 22:30:34 +00:00
< div class = "contents" >
2013-12-25 22:48:55 +00:00
< div class = "textblock" > < p > GLM comes very close to replicating GLSL, but it is not exact. Here is a list of differences between GLM and GLSL:< / p >
< ul >
< li >
< p class = "startli" > Precision qualifiers. In GLSL numeric types can have qualifiers that define the precision of that type. While OpenGL's GLSL ignores these qualifiers, OpenGL ES's version of GLSL uses them.< / p >
< p > C++ has no language equivalent to precision qualifiers. Instead, GLM provides a set of typedefs for each kind of precision qualifier and type. These types can be found in < a class = "el" href = "a00169.html" > their own section< / a > .< / p >
< p class = "endli" > Functions that take types tend to be templated on those types, so they can take these qualified types just as well as the regular ones. < / p >
< / li >
< / ul >
2012-11-18 13:05:52 +00:00
< / div > < / div > <!-- contents -->
<!-- start footer part -->
2012-09-05 22:30:34 +00:00
< hr class = "footer" / > < address class = "footer" > < small >
Generated by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
2013-12-25 22:48:55 +00:00
< / a > 1.8.5
2012-09-05 22:30:34 +00:00
< / small > < / address >
< / body >
< / html >