Merge branch '0.9.1' of ssh://ogl-math.git.sourceforge.net/gitroot/ogl-math/ogl-math into 0.9.1

This commit is contained in:
Christophe Riccio 2011-02-13 02:18:02 +00:00
commit 97d39d643d
20 changed files with 287 additions and 739 deletions

View File

@ -1,6 +1,6 @@
set(NAME glm-doc)
file(GLOB ROOT_TXT *.doxy ../*.txt)
file(GLOB ROOT_TXT *.doxy ../*.txt ./theme/*.css)
file(GLOB ROOT_CPP src/*.cpp)
file(GLOB ROOT_XML src/*.xml)
file(GLOB ROOT_XSL src/*.xsl)

View File

@ -1,475 +0,0 @@
BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV {
font-family: Geneva, Arial, Helvetica, sans-serif;
}
BODY,TD {
font-size: 90%;
}
H1 {
text-align: center;
font-size: 160%;
}
H2 {
font-size: 120%;
}
H3 {
font-size: 100%;
}
CAPTION {
font-weight: bold
}
DIV.qindex {
width: 100%;
background-color: #ff8000;/*#e8eef2;*/
border: 1px solid #ff8000;
text-align: center;
margin: 2px;
padding: 2px;
line-height: 140%;
}
DIV.navpath {
width: 100%;
background-color: #ff8000;/*e8eef2*/
border: 1px solid #ff8000;
text-align: center;
margin: 2px;
padding: 2px;
line-height: 140%;
}
DIV.navtab {
background-color: #ff8000;/*#e8eef2;*/
border: 1px solid #ff8000;
text-align: center;
margin: 2px;
margin-right: 15px;
padding: 2px;
}
TD.navtab {
font-size: 70%;
}
A.qindex {
text-decoration: none;
font-weight: bold;
color: #ff8000;
}
A.qindex:visited {
text-decoration: none;
font-weight: bold;
color: #ff8000
}
A.qindex:hover {
text-decoration: none;
background-color: #ffe0c0;
}
A.qindexHL {
text-decoration: none;
font-weight: bold;
background-color: #ffe0c0;
color: #ffffff;
border: 1px double #ffe0c0;
}
A.qindexHL:hover {
text-decoration: none;
background-color: #ffe0c0;
color: #ffffff;
}
A.qindexHL:visited {
text-decoration: none;
background-color: #ffe0c0;
color: #ffffff
}
A.el {
text-decoration: none;
font-weight: bold
}
A.elRef {
font-weight: bold
}
A.code:link {
text-decoration: none;
font-weight: normal;
color: #ff8000
}
A.code:visited {
text-decoration: none;
font-weight: normal;
color: #ff8000
}
A.codeRef:link {
font-weight: normal;
color: #ff8000
}
A.codeRef:visited {
font-weight: normal;
color: #ff8000
}
A:hover {
text-decoration: none;
background-color: #f2f2ff
}
DL.el {
margin-left: -1cm
}
.fragment {
font-family: monospace, fixed;
font-size: 95%;
}
PRE.fragment {
border: 1px solid #CCCCCC;
background-color: #f5f5f5;
margin-top: 4px;
margin-bottom: 4px;
margin-left: 2px;
margin-right: 8px;
padding-left: 6px;
padding-right: 6px;
padding-top: 4px;
padding-bottom: 4px;
}
DIV.ah {
background-color: black;
font-weight: bold;
color: #ffffff;
margin-bottom: 3px;
margin-top: 3px
}
DIV.groupHeader {
margin-left: 16px;
margin-top: 12px;
margin-bottom: 6px;
font-weight: bold;
}
DIV.groupText {
margin-left: 16px;
font-style: italic;
font-size: 90%
}
BODY {
background: white;
color: black;
margin-right: 20px;
margin-left: 20px;
}
TD.indexkey {
background-color: #fff0e0;/*#e8eef2;*/
font-weight : normal;
padding-right : 10px;
padding-top : 8px;
padding-left : 10px;
padding-bottom : 8px;
margin-left : 0px;
margin-right : 0px;
margin-top : 2px;
margin-bottom : 2px;
border: 0px solid #CCCCCC;
-moz-border-radius: 8px 8px 8px 8px;
}
TD.indexvalue {
background-color: #fff0e0;/*#e8eef2;*/
font-style: italic;
padding-right : 10px;
padding-top : 8px;
padding-left : 10px;
padding-bottom : 8px;
margin-left : 0px;
margin-right : 0px;
margin-top : 2px;
margin-bottom : 2px;
border: 0px solid #CCCCCC;
-moz-border-radius: 8px 8px 8px 8px;
}
TR.memlist {
background-color: #f0f0f0;
}
P.formulaDsp {
text-align: center;
}
IMG.formulaDsp {
}
IMG.formulaInl {
vertical-align: middle;
}
SPAN.keyword { color: #008000 }
SPAN.keywordtype { color: #604020 }
SPAN.keywordflow { color: #e08000 }
SPAN.comment { color: #800000 }
SPAN.preprocessor { color: #806020 }
SPAN.stringliteral { color: #002080 }
SPAN.charliteral { color: #008080 }
SPAN.vhdldigit { color: #ff00ff }
SPAN.vhdlchar { color: #000000 }
SPAN.vhdlkeyword { color: #700070 }
SPAN.vhdllogic { color: #ff0000 }
.mdescLeft {
padding: 0px 8px 4px 8px;
font-size: 80%;
font-style: italic;
background-color: #FAFAFA;
border-top: 1px none #E0E0E0;
border-right: 1px none #E0E0E0;
border-bottom: 1px none #E0E0E0;
border-left: 1px none #E0E0E0;
margin: 0px;
}
.mdescRight {
padding: 0px 8px 4px 8px;
font-size: 80%;
font-style: italic;
background-color: #FAFAFA;
border-top: 1px none #E0E0E0;
border-right: 1px none #E0E0E0;
border-bottom: 1px none #E0E0E0;
border-left: 1px none #E0E0E0;
margin: 0px;
}
.memItemLeft {
padding: 1px 0px 0px 8px;
margin: 4px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-color: #E0E0E0;
border-right-color: #E0E0E0;
border-bottom-color: #E0E0E0;
border-left-color: #E0E0E0;
border-top-style: solid;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
background-color: #FAFAFA;
font-size: 80%;
}
.memItemRight {
padding: 1px 8px 0px 8px;
margin: 4px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-color: #E0E0E0;
border-right-color: #E0E0E0;
border-bottom-color: #E0E0E0;
border-left-color: #E0E0E0;
border-top-style: solid;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
background-color: #FAFAFA;
font-size: 80%;
}
.memTemplItemLeft {
padding: 1px 0px 0px 8px;
margin: 4px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-color: #E0E0E0;
border-right-color: #E0E0E0;
border-bottom-color: #E0E0E0;
border-left-color: #E0E0E0;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
background-color: #FAFAFA;
font-size: 80%;
}
.memTemplItemRight {
padding: 1px 8px 0px 8px;
margin: 4px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-color: #E0E0E0;
border-right-color: #E0E0E0;
border-bottom-color: #E0E0E0;
border-left-color: #E0E0E0;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
background-color: #FAFAFA;
font-size: 80%;
}
.memTemplParams {
padding: 1px 0px 0px 8px;
margin: 4px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-color: #E0E0E0;
border-right-color: #E0E0E0;
border-bottom-color: #E0E0E0;
border-left-color: #E0E0E0;
border-top-style: solid;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
color: #606060;
background-color: #FAFAFA;
font-size: 80%;
}
.search {
color: #003399;
font-weight: bold;
}
FORM.search {
margin-bottom: 0px;
margin-top: 0px;
}
INPUT.search {
font-size: 75%;
color: #402000;
font-weight: normal;
background-color: #ffe0c0;
}
TD.tiny {
font-size: 75%;
}
a {
color: #402000;
}
a:visited {
color: #804000;
}
.dirtab {
padding: 4px;
border-collapse: collapse;
border: 1px solid #fff0e0;
}
TH.dirtab {
background: #fff0e0;
font-weight: bold;
}
HR {
height: 1px;
border: none;
border-top: 1px solid black;
}
/* Style for detailed member documentation */
.memtemplate {
font-size: 80%;
color: #606060;
font-weight: normal;
margin-left: 3px;
}
.memnav {
background-color: #ffe0c0;
border: 1px solid #ffe0c0;
text-align: center;
margin: 2px;
margin-right: 15px;
padding: 2px;
}
.memitem {
padding: 4px;
background-color: #fff0e0;
border-width: 1px;
border-style: solid;
border-color: #fff0e0;
-moz-border-radius: 8px 8px 8px 8px;
}
.memname {
white-space: nowrap;
font-weight: bold;
}
.memdoc{
padding-left: 10px;
}
.memproto {
background-color: #ffe0c0;
width: 100%;
border-width: 1px;
border-style: solid;
border-color: #ffe0c0;
font-weight: bold;
-moz-border-radius: 8px 8px 8px 8px;
}
.paramkey {
text-align: right;
}
.paramtype {
white-space: nowrap;
}
.paramname {
color: #602020;
font-style: italic;
white-space: nowrap;
}
/* End Styling for detailed member documentation */
/* for the tree view */
.ftvtree {
font-family: sans-serif;
margin:0.5em;
}
/* these are for tree view when used as main index */
.directory {
font-size: 9pt;
font-weight: bold;
}
.directory h3 {
margin: 0px;
margin-top: 1em;
font-size: 11pt;
}
/* The following two styles can be used to replace the root node title */
/* with an image of your choice. Simply uncomment the next two styles, */
/* specify the name of your image and be sure to set 'height' to the */
/* proper pixel height of your image. */
/* .directory h3.swap { */
/* height: 61px; */
/* background-repeat: no-repeat; */
/* background-image: url("yourimage.gif"); */
/* } */
/* .directory h3.swap span { */
/* display: none; */
/* } */
.directory > h3 {
margin-top: 0;
}
.directory p {
margin: 0px;
white-space: nowrap;
}
.directory div {
display: none;
margin: 0px;
}
.directory img {
vertical-align: -30%;
}
/* these are for tree view when not used as main index */
.directory-alt {
font-size: 100%;
font-weight: bold;
}
.directory-alt h3 {
margin: 0px;
margin-top: 1em;
font-size: 11pt;
}
.directory-alt > h3 {
margin-top: 0;
}
.directory-alt p {
margin: 0px;
white-space: nowrap;
}
.directory-alt div {
display: none;
margin: 0px;
}
.directory-alt img {
vertical-align: -30%;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 807 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -1,102 +0,0 @@
/* tabs styles, based on http://www.alistapart.com/articles/slidingdoors */
DIV.tabs
{
float : left;
width : 100%;
background : url("tab_b.gif") repeat-x bottom;
margin-bottom : 4px;
}
DIV.tabs UL
{
margin : 0px;
padding-left : 10px;
list-style : none;
}
DIV.tabs LI, DIV.tabs FORM
{
display : inline;
margin : 0px;
padding : 0px;
}
DIV.tabs FORM
{
float : right;
}
DIV.tabs A
{
float : left;
background : url("tab_r.gif") no-repeat right top;
border-bottom : 1px solid #FF8000;
font-size : x-small;
font-weight : bold;
text-decoration : none;
}
DIV.tabs A:hover
{
background-position: 100% -150px;
}
DIV.tabs A:link, DIV.tabs A:visited,
DIV.tabs A:active, DIV.tabs A:hover
{
color: #000000;/*#1A419D;*/
}
DIV.tabs SPAN
{
float : left;
display : block;
background : url("tab_l.gif") no-repeat left top;
padding : 5px 9px;
white-space : nowrap;
}
DIV.tabs INPUT
{
float : right;
display : inline;
font-size : 1em;
}
DIV.tabs TD
{
font-size : x-small;
font-weight : bold;
text-decoration : none;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
DIV.tabs SPAN {float : none;}
/* End IE5-Mac hack */
DIV.tabs A:hover SPAN
{
background-position: 0% -150px;
}
DIV.tabs LI.current A
{
background-position: 100% -150px;
border-width : 0px;
}
DIV.tabs LI.current SPAN
{
background-position: 0% -150px;
padding-bottom : 6px;
}
DIV.navpath
{
background : none;
border : none;
border-bottom : 1px solid #FF8000;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

BIN
doc/common/g-truc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -1,13 +1,17 @@
body
{
background-color:#fff8f0;
font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif;
font-size: 12px;
background-color:#000000;
margin:0px;
padding:0px;
width:100%;
}
table
{
background-color:#ffffff;
width:800px;
width:1000px;
margin-left:auto;
margin-right:auto;
}
@ -24,14 +28,8 @@ table.principale
border-style:none;
border-width:0px;
border-spacing:0px;
margin-top: 0px;
margin-bottom: 0px;
margin-right: 0px;
margin-left: 0px;
padding-right: 0px;
padding-left: 0px;
padding-bottom: 0px;
padding-top: 0px;
margin: 0px;
padding: 0px;
width:100%;
}
@ -41,14 +39,8 @@ tr.principale
border-style:none;
border-width:0px;
border-spacing:0px;
margin-top: 0px;
margin-bottom: 0px;
margin-right: 0px;
margin-left: 0px;
padding-right: 0px;
padding-left: 0px;
padding-bottom: 0px;
padding-top: 0px;
margin: 0px;
padding: 0px;
}
div.title1
@ -76,8 +68,9 @@ div.title3
border-width:1px;
}
div.title4
h3
{
font-family:Century;
text-align:left;
font-size:16px;
font-weight:bolder;
@ -95,14 +88,15 @@ div.title-date
div.menu1
{
text-align:center;
font-size:16px;
font-size:12px;
font-weight:bolder;
padding:16px;
}
div.menu2
{
text-align:center;
font-size:16px;
font-size:12px;
}
div.news-separator
@ -136,12 +130,6 @@ div.paragraph
text-align:justify;
}
div.block
{
padding-right: 16px;
padding-left: 16px;
}
div.include
{
color:#0000FF;
@ -175,7 +163,7 @@ td.menu
border-right-style:solid;
border-color:#000000;
width:160px;
padding-right: 32px;
padding-right: 0px;
padding-left: 0px;
padding-bottom: 0px;
padding-top: 0px;
@ -189,12 +177,12 @@ a.menu
*/
a.menu
{
color:#008000;
color:#000000;
}
a
{
color:#008000;
color:#000000;
}
div.issue-content
@ -247,6 +235,12 @@ ul.code-list
margin-right:0px;
}
li
{
list-style-position:inside;
padding-left:8px;
}
li.code-line
{
color:#008080;

View File

@ -7,7 +7,7 @@
<xsl:template match="/">
<html>
<head>
<title>OpenGL Mathematics : About</title>
<title>OpenGL Mathematics: About</title>
<meta http-equiv="Content-Language" content="en" />
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=iso-8859-1" />
<meta name="copyright" content="G-Truc Creation" />

View File

@ -3,6 +3,8 @@
<glm copyright="Copyright © 2005 - 2011">
<downloads>
<section name="GLM - zip files">
<download name="GLM 0.9.1.B" date="13/02/2010" size="3.4 MB" link="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.B/glm-0.9.1.B.zip/download"/>
<download name="GLM 0.9.0.8" date="13/02/2010" size="3.3 MB" link="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.8/glm-0.9.0.8.zip/download"/>
<download name="GLM 0.9.1.A" date="31/01/2010" size="3.0 MB" link="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.A/glm-0.9.1.A.zip/download"/>
<download name="GLM 0.9.0.7" date="30/01/2010" size="1.4 MB" link="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.7/glm-0.9.0.7.zip/download"/>
<download name="GLM 0.9.0.6" date="21/12/2010" size="2.2 MB" link="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.6/glm-0.9.0.6.zip/download"/>
@ -56,6 +58,8 @@
<download name="GLM 0.1.0.0" date="02/21/2005" size="29.2 KB" link="http://prdownloads.sourceforge.net/glf/glm-0.1-ur.zip?download"/>
</section>
<section name="GLM - 7z files">
<download name="GLM 0.9.1.B" date="13/02/2011" size="2.1 MB" link="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.B/glm-0.9.1.B.7z/download"/>
<download name="GLM 0.9.0.8" date="13/02/2011" size="1.9 MB" link="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.8/glm-0.9.0.8.7z/download"/>
<download name="GLM 0.9.1.A" date="31/01/2011" size="2.0 MB" link="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.A/glm-0.9.1.A.7z/download"/>
<download name="GLM 0.9.0.7" date="30/01/2011" size="832 KB" link="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.7/glm-0.9.0.7.7z/download"/>
<download name="GLM 0.9.0.6" date="21/12/2010" size="1.6 MB" link="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.6/glm-0.9.0.6.7z/download"/>
@ -1540,7 +1544,28 @@
<page_news>
<news index="0059" date="31/01/2011" title="GLM 0.9.1 alpha released (updated)" image="goodies/logo.png" image-mini="image/logo-mini.png">
<news index="0060" date="13/02/2011" title="GLM 0.9.0.8 and GLM 0.9.1 beta released" image="goodies/logo.png" image-mini="image/logo-mini.png">
<paragraph>
GLM 0.9.0.8 add the operator * for quaternion products and deprecated the cross function previously used for the same purpose.
Also, it clarifies that GLM is a header only library when a user try to build it. Once more, there is nothing to build.
</paragraph>
<paragraph>
GLM 0.9.1 beta includes a great contribution on the <a href="http://glm.g-truc.net/html-0.9.1/index.html">API documentation</a> by
<a href="http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showprofile&amp;User=23530">Alfonse Reinheart</a>,
author of <a href="http://www.arcsynthesis.org/gltut/">a great OpenGL tutorial</a> which uses GLM.
This version also improves the SIMD implementation.
</paragraph>
<source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.B/glm-0.9.1.B.zip/download">GLM 0.9.1.B (zip,)</source>
<source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.B/glm-0.9.1.B.7z/download">GLM 0.9.1.B (7z)</source>
<source type="Link" href="http://glm.g-truc.net/glm-0.9.1.pdf">GLM 0.9.1 manual</source>
<source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.8/glm-0.9.0.8.zip/download">GLM 0.9.0.8 (zip,)</source>
<source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.0.8/glm-0.9.0.8.7z/download">GLM 0.9.0.8 (7z)</source>
<source type="Link" href="http://glm.g-truc.net/glm-0.9.0.pdf">GLM 0.9.0 manual</source>
<source type="Link" href="https://sourceforge.net/apps/trac/ogl-math/newticket">Submit a bug report</source>
</news>
<news index="0059" date="31/01/2011" title="GLM 0.9.1 alpha released" image="goodies/logo.png" image-mini="image/logo-mini.png">
<paragraph>
This new version of GLM is bringing a lot of improvements and maybe too many considering the development time it has required:
API exposing SIMD implementation but also some new, safe and feature complet swizzling functions and a new setup API.
@ -1563,17 +1588,17 @@
and <codeword>float</codeword> to <codeword>__m128</codeword>).
This implementation can probably be improve in many ways so don't hesitate to send me some feedbacks.
</paragraph>
<paragraph>
GLM 0.9.1 is not 100% backward compatible with GLM 0.9.0 but mostly advanced usages should be concerned by this compatibility issues.
</paragraph>
<paragraph>
UPDATED: SF.net mirrors are available again.
</paragraph>
<source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.A/glm-0.9.1.A.zip/download">GLM 0.9.1.A (zip, 3.0 MB)</source>
<source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.A/glm-0.9.1.A.7z/download">GLM 0.9.1.A (7z, 2.0 MB)</source>
<source type="Link" href="http://glm.g-truc.net/glm-0.9.1.pdf">GLM Manual</source>
<source type="Link" href="https://sourceforge.net/apps/trac/ogl-math/newticket">Submit a bug report</source>
<source-list>
<source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.A/glm-0.9.1.A.zip/download">GLM 0.9.1.A (zip, 2.7 MB)</source>
<source type="Download" href="https://sourceforge.net/projects/ogl-math/files/glm-0.9.1.A/glm-0.9.1.A.7z/download">GLM 0.9.1.A (7z, 1.7 MB)</source>
<source type="Link" href="http://glm.g-truc.net/glm-0.9.1.pdf" title="GLM Manual" />
<source type="Link" href="https://sourceforge.net/apps/trac/ogl-math/newticket" title="Submit a feature request or a bug report" />
</source-list>
</news>
<news index="0058" date="30/01/2011" title="GLM 0.9.0.7 released" image="goodies/logo.png" image-mini="image/logo-mini.png">
@ -2793,25 +2818,45 @@
</bug>
</bugs>
<about-long date=" " title=" ">
<paragraph>
OpenGL Mathematics (GLM) is a C++ mathematics library for 3D software based on the OpenGL Shading Language (GLSL) specification.
</paragraph>
<paragraph>
The goal of the project is to provide to 3D programmers math classes and functions that miss in C++ when we use to program with GLSL or any high level GPU language. With GLM, the idea is to have a library that works the same way that GLSL which imply a strict following of GLSL specification for the implementation.
</paragraph>
<paragraph>
However, this project isn't limited by GLSL features. An extension system allows to extend GLSL capabilities. It allows GLM to be a great subtitute for some OpenGL 3 deprecated functions, to work following a clean programmable approach.
</paragraph>
<paragraph>
GLM is release under <link href="./copying.txt">MIT license</link> and available for all version of GCC from version 3.4 and Visual Studio from version 8.0 as a platform independent library.
</paragraph>
</about-long>
<about-long date=" " title=" ">
<paragraph>
OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software
based on the <link href="http://www.opengl.org/documentation/glsl/">OpenGL Shading Language (GLSL)</link> specification.
</paragraph>
<paragraph>
GLM provides classes and functions designed and
implemented with the same naming conventions
and functionalities than GLSL so that
when a programmer knows GLSL, he knows GLM as well which makes it really easy to use.
</paragraph>
<paragraph>
This project isn't limited by GLSL features.
An extension system, based on the GLSL extension conventions,
provides extended capabilities: matrix transformations,
quaternions, half-based types, random numbers, etc...
</paragraph>
<paragraph>
This library works perfectly with OpenGL but it also ensures interoperability with other third party libraries and SDKs. It is a good candidate for software rendering (Raytracing / Rasterisation), image processing, physic simulations and any context that requires a simple and convenient mathematics library.
</paragraph>
<list name="GLM is written as a platform independent library with no dependence and officially supports the following compilers:">
<list-element><link href="http://http://gcc.gnu.org/">GCC</link> 3.4 and higher</list-element>
<list-element><link href="http://llvm.org/">LLVM</link> 2.3 through GCC 4.2 front-end and higher</list-element>
<list-element><link href="http://msdn.microsoft.com/en-us/visualc/default">Visual C++</link> 2005 and higher</list-element>
<list-element>Any C++ compiler following C++98 norm</list-element>
</list>
<paragraph>
The source code is under the <link href="./copying.txt">MIT license</link>.
</paragraph>
<paragraph>
Thanks for contributing to the project by <link href="https://sourceforge.net/apps/trac/ogl-math/newticket">submitting tickets</link> for bug reports and feature requests. (SF.net account required).
Any feedback is welcome at <a href="mailto://glm@g-truc.net">glm@g-truc.net</a>.
</paragraph>
</about-long>
<about-short>
<element>GLSL + Optional features = OpenGL Mathematics (GLM).</element>
<element>A C++ mathematics library for 3D graphics.</element>
</about-short>
<about-short>
<element>GLSL + Optional features = OpenGL Mathematics (GLM).</element>
<element>A C++ mathematics library for 3D graphics.</element>
</about-short>
<goodies>
<goodie date="16/10/2008" title="GLM Logo" image="goodies/logo.png" image-mini="image/logo-mini.png">
@ -2832,34 +2877,30 @@
<menu>
<menu-group name="Main">
<menu-entry name="News" href="./index.html" />
<menu-entry name="About" href="./about.html" />
<menu-entry name="Front page" href="./index.html" />
<menu-entry name="Downloads" href="./download.html" />
<menu-entry name="Goodies" href="./goodies.html" />
<menu-entry name="OpenGL SDK page" href="http://www.opengl.org/sdk/libs/GLM/" />
</menu-group>
<menu-group name="Documentation">
<menu-entry name="GLM Manual" href="./glm-manual.pdf" />
<menu-entry name="GLM API" href="./html/index.html" />
<menu-entry name="GLM Manual" href="./glm-0.9.1.pdf" />
<menu-entry name="GLM API" href="./api-0.9.1/index.html" />
<menu-entry name="Code samples" href="./code.html" />
<menu-entry name="GLSL Specification" href="http://www.opengl.org/registry/doc/GLSLangSpec.4.00.8.clean.pdf" />
<menu-entry name="GLSL Specification" href="http://www.opengl.org/registry/doc/GLSLangSpec.4.10.6.clean.pdf" />
<menu-entry name="OpenGL.org Toolkits forum" href="http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=postlist&amp;Board=10&amp;page=1" />
<!--menu-entry name="Usage" href="./usage.html" /-->
</menu-group>
<menu-group name="Developer">
<!--menu-entry name="Contribute" href="./contribute.html" /-->
<menu-entry name="SF.net page" href="https://sourceforge.net/projects/ogl-math/" />
<menu-entry name="Bug report" href="https://sourceforge.net/apps/trac/ogl-math" />
<menu-entry name="Report a bug" href="https://sourceforge.net/apps/trac/ogl-math/newticket" />
<menu-entry name="SourceForge page" href="https://sourceforge.net/projects/ogl-math/" />
<menu-entry name="G-Truc Creation page" href="http://www.g-truc.net/project-0016.html#menu" />
<menu-entry name="Browse Git repository" href="http://ogl-math.git.sourceforge.net/git/gitweb.cgi?p=ogl-math/ogl-math;a=summary" />
<menu-entry name="GIT HEAD snapshot" href="http://ogl-math.git.sourceforge.net/git/gitweb.cgi?p=ogl-math/ogl-math;a=snapshot;h=HEAD;sf=tgz" />
<menu-entry name="Source snapshot" href="http://ogl-math.git.sourceforge.net/git/gitweb.cgi?p=ogl-math/ogl-math;a=snapshot;h=HEAD;sf=tgz" />
</menu-group>
<menu-link>
<menu-pic name="G-Truc" image="./common/g-truc.jpg" href="http://www.g-truc.net" />
<menu-pic name="SourceForge" image="./common/sourceforge.gif" href="http://www.sourceforge.net" />
<menu-pic name="OpenGL" image="./common/opengl.jpg" href="http://www.opengl.org" />
</menu-link>
<menu-pic name="G-Truc" image="./common/g-truc.png" href="http://www.g-truc.net" />
</menu-link>
</menu>
</glm>

View File

@ -7,7 +7,7 @@
<xsl:template match="/">
<html>
<head>
<title>OpenGL Mathematics : Downloads</title>
<title>OpenGL Mathematics: Downloads</title>
<meta http-equiv="Content-Language" content="en" />
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=iso-8859-1" />
<meta name="copyright" content="G-Truc Creation" />

View File

@ -7,7 +7,7 @@
<xsl:template match="/">
<html>
<head>
<title>OpenGL Mathematics : Links</title>
<title>OpenGL Mathematics: Links</title>
<meta http-equiv="Content-Language" content="fr, be, ca, lu, ch" />
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=iso-8859-1" />
<meta name="copyright" content="&#65533; 2005 C-Truc Creation" />

View File

@ -7,7 +7,7 @@
<xsl:template match="/">
<html>
<head>
<title>OpenGL Mathematics: News</title>
<title>OpenGL Mathematics</title>
<meta http-equiv="Content-Language" content="en" />
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=iso-8859-1" />
<meta name="copyright" content="G-Truc Creation" />
@ -38,6 +38,8 @@
<img src="./common/title.png" alt="OpenGL Mathematics" />
</div>
<xsl:apply-templates select="./glm/about-short" />
<br />
<xsl:apply-templates select="./glm/about-long" />
<br />
<xsl:apply-templates select="./glm/page_news/news" />
<div class="title3">
@ -53,29 +55,17 @@
<xsl:template match="news">
<div>
<div class="title-date">
<xsl:value-of select="./@date" />
</div>
<div class="title4">
<xsl:value-of select="./@title" />
</div>
<div>
<xsl:if test="./paragraph">
<xsl:apply-templates select="./paragraph" />
</xsl:if>
<xsl:if test="./list">
<xsl:apply-templates select="./list" />
</xsl:if>
<xsl:if test="./code">
<xsl:apply-templates select="./code" />
</xsl:if>
<xsl:apply-templates select="./source" />
<!--xsl:apply-templates select="/" /-->
</div>
<div class="news-separator">_________________</div>
<br />
<h3>
<xsl:value-of select="./@date" /><xsl:text> - </xsl:text>
<xsl:value-of select="./@title" />
</h3>
<div>
<xsl:apply-templates select="./paragraph" />
<xsl:apply-templates select="./list" />
<xsl:apply-templates select="./code" />
<xsl:apply-templates select="./source" />
</div>
<br />
</div>
</xsl:template>

View File

@ -52,9 +52,42 @@
</xsl:template>
<xsl:template match="list">
<xsl:value-of select="./@nom" /><br />
<xsl:apply-templates select="./element"/>
<br />
<div xmlns="http://www.w3.org/1999/xhtml">
<xsl:if test="./@name">
<xsl:choose>
<xsl:when test="./@href">
<span class="list">
<a href="{./@href}">
<xsl:value-of select="./@name" />
</a>
</span>
</xsl:when>
<xsl:otherwise>
<span class="list">
<xsl:value-of select="./@name" />
</span>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
<ul>
<xsl:apply-templates select="./list-element"/>
</ul>
</div>
</xsl:template>
<xsl:template match="list-element">
<li xmlns="http://www.w3.org/1999/xhtml">
<xsl:choose>
<xsl:when test="./@href">
<a href="{./@href}">
<xsl:apply-templates />
</a>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates />
</xsl:otherwise>
</xsl:choose>
</li>
</xsl:template>
<xsl:template match="element">
@ -62,7 +95,7 @@
</xsl:template>
<xsl:template match="paragraph">
<div class="paragraph"><xsl:text /><xsl:apply-templates /><xsl:text /></div><br />
<p><xsl:text /><xsl:apply-templates /><xsl:text /></p>
</xsl:template>
<xsl:template match="about-short">

153
doc/theme/doxygen.css vendored
View File

@ -8,10 +8,23 @@ body, table, div, p, dl
body
{
background-color: #FFC080;
/*width:1024px;*/
margin-left:auto;
margin-right:auto;
margin:0px;
padding:0px;
background-color:#000000;
background-repeat:no-repeat;
background-position:center center;
background-attachment:fixed;
/*
background-image: -moz-linear-gradient(center top, #FFFFFF 0%, #FFF8F0 5%, #FFEEDD 95%, #FFDDBB);
background-image: -webkit-gradient(linear,center top,center bottom,from(#FFFFFF), color-stop(0.05,#FFF8F0), color-stop(0.05,#FFF8F0), color-stop(0.95,#FFEEDD), to(#FFDDBB));
*/
min-height:1200px;
overflow:auto;
}
p
{
background-color:#FFFFFF;
}
/* @group Heading Levels */
@ -19,16 +32,19 @@ body
h1
{
color:#FF8000;
font-family:Century;
font-size: 150%;
}
h2
{
color:#FF8000;
font-family:Century;
font-size: 120%;
}
h3 {
font-family:Century;
font-size: 100%;
}
@ -103,11 +119,24 @@ a {
.contents a:visited {
color: #606060;
}
/*
.contents{
background-color: #FFF8F0;
background-color: #FFFFFF;
margin:0px;
margin-left:auto;
margin-right:auto;
padding:0px;
width:1000px;
}
*/
div.textblock{
background-color: #FFFFFF;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 32px;
padding-right: 32px;
}
a:hover {
text-decoration: underline;
}
@ -120,7 +149,7 @@ a.qindexHL {
font-weight: bold;
background-color: #9CAFD4;
color: #ffffff;
border: 1px double #869DCA;
border: 0px double #869DCA;
}
.contents a.qindexHL:visited {
@ -129,6 +158,11 @@ a.qindexHL {
a.el {
font-weight: bold;
/*
font-family: Century;
font-size: 150%;
color:#FF8000;
*/
}
a.elRef {
@ -193,20 +227,6 @@ div.groupText {
font-style: italic;
}
body {
background: white;
color: black;
margin: 0;
}
div.contents
{
background-color:#FFF8F0;
padding-top: 10px;
padding-left: 10px;
padding-right: 10px;
}
td.indexkey {
font-weight: bold;
border: 0px solid #C4CFE5;
@ -248,8 +268,13 @@ div.center img {
}
address.footer {
margin-left:auto;
margin-right:auto;
width:1000px;
text-align: right;
padding-right: 12px;
color: #FFEEDD;
}
img.footer {
@ -347,6 +372,9 @@ hr {
hr.footer {
height: 1px;
margin-left:auto;
margin-right:auto;
width:1000px;
}
/* @group Member Descriptions */
@ -398,7 +426,7 @@ table.memberdecls {
.memnav {
background-color: #EBEFF6;
border: 1px solid #A3B4D7;
border: 0px solid #A3B4D7;
text-align: center;
margin: 2px;
margin-right: 15px;
@ -406,7 +434,7 @@ table.memberdecls {
}
.memitem {
padding: 0;
padding: 8px;
margin-bottom: 10px;
}
@ -417,9 +445,9 @@ table.memberdecls {
}
.memproto {
border-top: 1px solid #FF8000;
border-left: 1px solid #FF8000;
border-right: 1px solid #FF8000;
border-top: 0px solid #FF8000;
border-left: 0px solid #FF8000;
border-right: 0px solid #FF8000;
padding: 6px 0px 6px 0px;
color: #253555;
font-weight: bold;
@ -438,14 +466,15 @@ table.memberdecls {
-webkit-border-top-left-radius: 8px;
/*background-image:url('nav_f.png');*/
background-repeat:repeat-x;
background-color: #FFF8F0;
background-color: #FFFFFF;
background-image: -moz-linear-gradient(center top, #FFF8F0 0%, #FFFFFF 60%, #FFFFFF 95%, #FFFFFF);
background-image: -webkit-gradient(linear,center top,center bottom,from(#FFF8F0), color-stop(0.2,#FFFFFF), color-stop(0.60,#FFFFFF), color-stop(0.95,#FFFFFF), to(#FFFFFF));
}
.memdoc {
border-bottom: 1px solid #FF8000;
border-left: 1px solid #FF8000;
border-right: 1px solid #FF8000;
border-bottom: 0px solid #FF8000;
border-left: 0px solid #FF8000;
border-right: 0px solid #FF8000;
padding: 2px 5px;
background-color: #FFFFFF;
border-top-width: 0;
@ -457,12 +486,12 @@ table.memberdecls {
-moz-border-radius-bottomleft: 8px;
-moz-border-radius-bottomright: 8px;
-moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px;
background-image: -moz-linear-gradient(center top, #FFFFFF 0%, #FFFFFF 60%, #FFF0E0 95%, #FFF8F0);
background-image: -moz-linear-gradient(center top, #FFFFFF 0%, #FFFFFF 60%, #FFF8F0 90%, #FFEEDD);
/* webkit specific markup */
-webkit-border-bottom-left-radius: 8px;
-webkit-border-bottom-right-radius: 8px;
-webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
background-image: -webkit-gradient(linear,center top,center bottom,from(#FFFFFF), color-stop(0.6,#FFFFFF), color-stop(0.60,#FFFFFF), color-stop(0.95,#FFF0E0), to(#FFF8F0));
background-image: -webkit-gradient(linear,center top,center bottom,from(#FFFFFF), color-stop(0.6,#FFFFFF), color-stop(0.60,#FFFFFF), color-stop(0.90,#FFF8F0), to(#FFEEDD));
}
.paramkey {
@ -611,7 +640,7 @@ table.doxtable {
}
table.doxtable td, table.doxtable th {
border: 1px solid #2D4068;
border: 0px solid #2D4068;
padding: 3px 7px 2px;
}
@ -628,7 +657,7 @@ table.doxtable th {
top: 0px;
left: 10px;
height: 36px;
background-image: url('tab_b.png');
/*background-image: url('tab_b.png');*/
z-index: 101;
overflow: hidden;
font-size: 13px;
@ -637,12 +666,9 @@ table.doxtable th {
.navpath ul
{
font-size: 11px;
background-image:url('tab_b.png');
background-repeat:repeat-x;
background-color: #FFEEDD;
height:30px;
line-height:30px;
color:#8AA0CC;
border:solid 1px #C2CDE4;
overflow:hidden;
margin:0px;
padding:0px;
@ -654,10 +680,9 @@ table.doxtable th {
float:left;
padding-left:10px;
padding-right:15px;
background-image:url('bc_s.png');
/*background-image:url('bc_s.png');*/
background-repeat:no-repeat;
background-position:right;
color:#364D7C;
}
.navpath li.navelem a
@ -675,18 +700,17 @@ table.doxtable th {
.navpath li.footer
{
list-style-type:none;
float:right;
padding-left:10px;
padding-right:15px;
background-image:none;
background-repeat:no-repeat;
background-position:right;
color:#364D7C;
font-size: 8pt;
list-style-type:none;
float:right;
padding-left:10px;
padding-right:15px;
background-image:none;
background-repeat:no-repeat;
background-position:right;
color:#FFEEDD;
font-size: 8pt;
}
div.summary
{
float: right;
@ -716,16 +740,24 @@ div.ingroups a
div.header
{
/*background-image:url('nav_h.png');*/
background-repeat:repeat-x;
background-color: #FFF8F0;
margin: 0px;
background-color:#FFEEDD;
background-image: -moz-linear-gradient(center top, #FFEEDD 0%, #FFEEDD 5%, #FFEEDD 80%, #FFFFFF);
background-image: -webkit-gradient(linear,center top,center bottom,from(#FFEEDD), color-stop(0.05,#FFEEDD), color-stop(0.05,#FFEEDD), color-stop(0.80,#FFEEDD), to(#FFFFFF));
padding:0px;
margin:0px;
margin-left:auto;
margin-right:auto;
width:1000px;
border-bottom: 0px solid #FFC080;
}
div.headertitle
{
padding: 5px 5px 5px 10px;
margin: 0px;
padding: 5px;
padding-bottom:10px;
padding-top:10px;
}
dl
@ -742,7 +774,7 @@ dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated,
dl.note
{
border-color: #D0D000;
border-color: #FFDDBB;
}
dl.warning, dl.attention
@ -814,9 +846,14 @@ dl.bug
margin: 0px;
width: 100%;
border-bottom: 0px solid #FF8000;
background-color:#FFFFFF;
}
#top
{
margin-left:auto;
margin-right:auto;
width:1000px;
/*background-color:#000000;*/
}

17
doc/theme/tabs.css vendored
View File

@ -1,4 +1,7 @@
.tabs, .tabs2, .tabs3 {
background-image: -moz-linear-gradient(center top, #FFFFFF 0%, #FFFFFF 5%, #FFEEDD 95%, #FFEEDD);
background-image: -webkit-gradient(linear,center top,center bottom,from(#FFFFFF), color-stop(0.05,#FFFFFF), color-stop(0.05,#FFFFFF), color-stop(0.95,#FFEEDD), to(#FFEEDD));
/*background-image: url('tab_b.png');*/
background-color:#FFF8F0;
width: 100%;
@ -22,6 +25,10 @@
.tablist li {
float: left;
display: table-cell;
background-image: -moz-linear-gradient(center top, #FFFFFF 0%, #FFFFFF 5%, #FFEEDD 95%, #FFEEDD);
background-image: -webkit-gradient(linear,center top,center bottom,from(#FFFFFF), color-stop(0.05,#FFFFFF), color-stop(0.05,#FFFFFF), color-stop(0.95,#FFEEDD), to(#FFEEDD));
/*background-image: url('tab_b.png');*/
line-height: 36px;
list-style: none;
@ -31,6 +38,10 @@
display: block;
padding: 0 20px;
font-weight: bold;
background-image: -moz-linear-gradient(center top, #FFFFFF 0%, #FFFFFF 5%, #FFEEDD 95%, #FFEEDD);
background-image: -webkit-gradient(linear,center top,center bottom,from(#FFFFFF), color-stop(0.05,#FFFFFF), color-stop(0.05,#FFFFFF), color-stop(0.95,#FFEEDD), to(#FFEEDD));
/*background-image:url('tab_s.png');*/
background-repeat:no-repeat;
background-position:right;
@ -45,6 +56,9 @@
}
.tablist a:hover {
background-image: -moz-linear-gradient(center top, #FFFFFF 0%, #FFFFFF 5%, #FFEEDD 95%, #FFEEDD);
background-image: -webkit-gradient(linear,center top,center bottom,from(#FFFFFF), color-stop(0.05,#FFFFFF), color-stop(0.05,#FFFFFF), color-stop(0.95,#FFEEDD), to(#FFEEDD));
/*background-image: url('tab_h.png');*/
background-color:#FFFEFD;
background-repeat:repeat-x;
@ -54,6 +68,9 @@
}
.tablist li.current a {
background-image: -moz-linear-gradient(center top, #FFFFFF 0%, #FFFFFF 5%, #FFEEDD 95%, #FFEEDD);
background-image: -webkit-gradient(linear,center top,center bottom,from(#FFFFFF), color-stop(0.05,#FFFFFF), color-stop(0.05,#FFFFFF), color-stop(0.95,#FFEEDD), to(#FFEEDD));
/*background-image: url('tab_a.png');*/
background-color:#FFFEFD;
background-repeat:repeat-x;

View File

@ -17,7 +17,7 @@
#define GLM_VERSION_MAJOR 0
#define GLM_VERSION_MINOR 9
#define GLM_VERSION_PATCH 1
#define GLM_VERSION_REVISION A
#define GLM_VERSION_REVISION B
///////////////////////////////////////////////////////////////////////////////////////////////////
// Compiler

View File

@ -13,6 +13,19 @@ GLM is a header only library, there is nothing to build, just include it.
More informations in GLM manual:
http://glm.g-truc.net/glm-manual.pdf
================================================================================
GLM 0.9.1.B: 2010-02-13
--------------------------------------------------------------------------------
- Updated API documentation
- Improved SIMD implementation
- Fixed Linux build
================================================================================
GLM 0.9.0.8: 2011-02-13
--------------------------------------------------------------------------------
- Added quaternion product operator.
- Clarify that GLM is a header only library.
================================================================================
GLM 0.9.1.A: 2010-01-31
--------------------------------------------------------------------------------