mirror of
https://github.com/g-truc/glm.git
synced 2024-11-27 02:34:35 +00:00
Added links to GLSL man pages for noise functions
This commit is contained in:
parent
15259dc1e2
commit
880026c083
@ -24,23 +24,31 @@ namespace glm
|
||||
/// \addtogroup core_funcs
|
||||
///@{
|
||||
|
||||
// Returns a 1D noise value based on the input value x.
|
||||
// From GLSL 1.30.08 specification, section 8.9.
|
||||
//! Returns a 1D noise value based on the input value x.
|
||||
//!
|
||||
//! \li <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/noise1.xml">GLSL noise1 man page</a>
|
||||
//! \li GLSL 1.30.08 specification, section 8.9
|
||||
template <typename genType>
|
||||
typename genType::value_type noise1(genType const & x);
|
||||
|
||||
// Returns a 2D noise value based on the input value x.
|
||||
// From GLSL 1.30.08 specification, section 8.9.
|
||||
//! Returns a 2D noise value based on the input value x.
|
||||
//!
|
||||
//! \li <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/noise2.xml">GLSL noise2 man page</a>
|
||||
//! \li GLSL 1.30.08 specification, section 8.9
|
||||
template <typename genType>
|
||||
detail::tvec2<typename genType::value_type> noise2(genType const & x);
|
||||
|
||||
// Returns a 3D noise value based on the input value x.
|
||||
// From GLSL 1.30.08 specification, section 8.9.
|
||||
//! Returns a 3D noise value based on the input value x.
|
||||
//!
|
||||
//! \li <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/noise3.xml">GLSL noise3 man page</a>
|
||||
//! \li GLSL 1.30.08 specification, section 8.9
|
||||
template <typename genType>
|
||||
detail::tvec3<typename genType::value_type> noise3(genType const & x);
|
||||
|
||||
// Returns a 4D noise value based on the input value x.
|
||||
// From GLSL 1.30.08 specification, section 8.9.
|
||||
//! Returns a 4D noise value based on the input value x.
|
||||
//!
|
||||
//! \li <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/noise4.xml">GLSL noise4 man page</a>
|
||||
//! \li GLSL 1.30.08 specification, section 8.9
|
||||
template <typename genType>
|
||||
detail::tvec4<typename genType::value_type> noise4(genType const & x);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user