Moved about in front page

This commit is contained in:
Christophe Riccio 2011-02-10 16:11:05 +00:00
parent e430b096d4
commit 89d57a41ec
7 changed files with 99 additions and 54 deletions

View File

@ -235,6 +235,12 @@ ul.code-list
margin-right:0px; margin-right:0px;
} }
li
{
list-style-position:inside;
padding-left:8px;
}
li.code-line li.code-line
{ {
color:#008080; color:#008080;

View File

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

View File

@ -2793,25 +2793,45 @@
</bug> </bug>
</bugs> </bugs>
<about-long date=" " title=" "> <about-long date=" " title=" ">
<paragraph> <paragraph>
OpenGL Mathematics (GLM) is a C++ mathematics library for 3D software based on the OpenGL Shading Language (GLSL) specification. OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software
</paragraph> based on the <link href="http://www.opengl.org/documentation/glsl/">OpenGL Shading Language (GLSL)</link> 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> GLM provides classes and functions designed and
<paragraph> implemented with the same naming conventions
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. and functionalities than GLSL so that
</paragraph> when a programmer knows GLSL, he knows GLM as well which makes it really easy to use.
<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>
</paragraph> This project isn't limited by GLSL features.
</about-long> 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> <about-short>
<element>GLSL + Optional features = OpenGL Mathematics (GLM).</element> <element>GLSL + Optional features = OpenGL Mathematics (GLM).</element>
<element>A C++ mathematics library for 3D graphics.</element> <element>A C++ mathematics library for 3D graphics.</element>
</about-short> </about-short>
<goodies> <goodies>
<goodie date="16/10/2008" title="GLM Logo" image="goodies/logo.png" image-mini="image/logo-mini.png"> <goodie date="16/10/2008" title="GLM Logo" image="goodies/logo.png" image-mini="image/logo-mini.png">
@ -2832,29 +2852,25 @@
<menu> <menu>
<menu-group name="Main"> <menu-group name="Main">
<menu-entry name="News" href="./index.html" /> <menu-entry name="Front page" href="./index.html" />
<menu-entry name="About" href="./about.html" />
<menu-entry name="Downloads" href="./download.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-entry name="OpenGL SDK page" href="http://www.opengl.org/sdk/libs/GLM/" />
</menu-group> </menu-group>
<menu-group name="Documentation"> <menu-group name="Documentation">
<menu-entry name="GLM Manual" href="./glm-0.9.1.pdf" /> <menu-entry name="GLM Manual" href="./glm-0.9.1.pdf" />
<menu-entry name="GLM API" href="./html-0.9.1/index.html" /> <menu-entry name="GLM API" href="./api-0.9.1/index.html" />
<menu-entry name="Code samples" href="./code.html" /> <menu-entry name="Code samples" href="./code.html" />
<menu-entry name="GLSL Specification" href="http://www.opengl.org/registry/doc/GLSLangSpec.4.10.6.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="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>
<menu-group name="Developer"> <menu-group name="Developer">
<!--menu-entry name="Contribute" href="./contribute.html" /--> <menu-entry name="Report a bug" href="https://sourceforge.net/apps/trac/ogl-math/newticket" />
<menu-entry name="Bug report" href="https://sourceforge.net/apps/trac/ogl-math" />
<menu-entry name="SourceForge page" href="https://sourceforge.net/projects/ogl-math/" /> <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="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="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-group>
<menu-link> <menu-link>

View File

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

View File

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

View File

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

View File

@ -52,9 +52,42 @@
</xsl:template> </xsl:template>
<xsl:template match="list"> <xsl:template match="list">
<xsl:value-of select="./@nom" /><br /> <div xmlns="http://www.w3.org/1999/xhtml">
<xsl:apply-templates select="./element"/> <xsl:if test="./@name">
<br /> <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>
<xsl:template match="element"> <xsl:template match="element">
@ -62,7 +95,7 @@
</xsl:template> </xsl:template>
<xsl:template match="paragraph"> <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>
<xsl:template match="about-short"> <xsl:template match="about-short">