mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 12:41:54 +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
|
/// \addtogroup core_funcs
|
||||||
///@{
|
///@{
|
||||||
|
|
||||||
// Returns a 1D noise value based on the input value x.
|
//! Returns a 1D noise value based on the input value x.
|
||||||
// From GLSL 1.30.08 specification, section 8.9.
|
//!
|
||||||
|
//! \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>
|
template <typename genType>
|
||||||
typename genType::value_type noise1(genType const & x);
|
typename genType::value_type noise1(genType const & x);
|
||||||
|
|
||||||
// Returns a 2D noise value based on the input value x.
|
//! Returns a 2D noise value based on the input value x.
|
||||||
// From GLSL 1.30.08 specification, section 8.9.
|
//!
|
||||||
|
//! \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>
|
template <typename genType>
|
||||||
detail::tvec2<typename genType::value_type> noise2(genType const & x);
|
detail::tvec2<typename genType::value_type> noise2(genType const & x);
|
||||||
|
|
||||||
// Returns a 3D noise value based on the input value x.
|
//! Returns a 3D noise value based on the input value x.
|
||||||
// From GLSL 1.30.08 specification, section 8.9.
|
//!
|
||||||
|
//! \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>
|
template <typename genType>
|
||||||
detail::tvec3<typename genType::value_type> noise3(genType const & x);
|
detail::tvec3<typename genType::value_type> noise3(genType const & x);
|
||||||
|
|
||||||
// Returns a 4D noise value based on the input value x.
|
//! Returns a 4D noise value based on the input value x.
|
||||||
// From GLSL 1.30.08 specification, section 8.9.
|
//!
|
||||||
|
//! \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>
|
template <typename genType>
|
||||||
detail::tvec4<typename genType::value_type> noise4(genType const & x);
|
detail::tvec4<typename genType::value_type> noise4(genType const & x);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user