updated GL and GLU replacement extensions

This commit is contained in:
Christophe Riccio
2010-11-12 14:24:28 +00:00
parent 25248b822b
commit 8f2cae1e1f
11 changed files with 500 additions and 235 deletions

View File

@@ -16,6 +16,7 @@
// Dependency:
#include "../glm.hpp"
#include "../gtc/glu_replacement.hpp"
#include "../gtx/transform.hpp"
namespace glm
@@ -29,6 +30,7 @@ namespace glm
namespace transform2
{
using namespace gtx::transform;
using namespace gtc::glu_replacement;
//! Transforms a matrix with a shearing on X axis.
//! From GLM_GTX_transform2 extension.
@@ -90,14 +92,6 @@ namespace glm
const detail::tmat4x4<T> & m,
const detail::tvec3<T>& normal);
//! Build a look at view matrix.
//! From GLM_GTX_transform2 extension.
template <typename T>
detail::tmat4x4<T> lookAt(
detail::tvec3<T> const & eye,
detail::tvec3<T> const & center,
detail::tvec3<T> const & up);
//! Build a scale bias matrix.
//! From GLM_GTX_transform2 extension.
template <typename valType>