Updated extensions list

This commit is contained in:
Christophe Riccio
2011-01-19 16:02:13 +00:00
parent 0ba4424d70
commit 1e9ef124e8
6 changed files with 29 additions and 38 deletions

51
glm/gtx/multiple.hpp Normal file
View File

@@ -0,0 +1,51 @@
///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Mathematics Copyright (c) 2005 - 2010 G-Truc Creation (www.g-truc.net)
///////////////////////////////////////////////////////////////////////////////////////////////////
// Created : 2009-10-26
// Updated : 2009-10-26
// Licence : This source is under MIT License
// File : glm/gtx/multiple.hpp
///////////////////////////////////////////////////////////////////////////////////////////////////
// Dependency:
// - GLM core
///////////////////////////////////////////////////////////////////////////////////////////////////
#ifndef glm_gtx_multiple
#define glm_gtx_multiple
// Dependency:
#include "../glm.hpp"
namespace glm
{
namespace test{
bool main_img_multiple();
}//namespace test
namespace gtx{
//! GLM_GTX_multiple: Find the closest number of a number multiple of other number.
namespace multiple
{
//! Higher Multiple number of Source.
//! From GLM_GTX_multiple extension.
template <typename genType>
genType higherMultiple(
genType const & Source,
genType const & Multiple);
//! Lower Multiple number of Source.
//! From GLM_GTX_multiple extension.
template <typename genType>
genType lowerMultiple(
genType const & Source,
genType const & Multiple);
}//namespace multiple
}//namespace gtx
}//namespace glm
#include "multiple.inl"
namespace glm{using namespace gtx::multiple;}
#endif//glm_gtx_multiple