mirror of
https://github.com/g-truc/glm.git
synced 2024-11-30 03:44:38 +00:00
Fixed noise function declarations
This commit is contained in:
parent
46563c4e01
commit
00169d0cde
@ -41,20 +41,20 @@ namespace glm
|
|||||||
//! Classic perlin noise.
|
//! Classic perlin noise.
|
||||||
//! From GLM_GTX_noise extension.
|
//! From GLM_GTX_noise extension.
|
||||||
template <typename T, template<typename> class vecType>
|
template <typename T, template<typename> class vecType>
|
||||||
typename T cnoise(
|
T cnoise(
|
||||||
vecType<T> const & p);
|
vecType<T> const & p);
|
||||||
|
|
||||||
//! Periodic perlin noise.
|
//! Periodic perlin noise.
|
||||||
//! From GLM_GTX_noise extension.
|
//! From GLM_GTX_noise extension.
|
||||||
template <typename T, template<typename> class vecType>
|
template <typename T, template<typename> class vecType>
|
||||||
typename T pnoise(
|
T pnoise(
|
||||||
vecType<T> const & p,
|
vecType<T> const & p,
|
||||||
vecType<T> const & rep);
|
vecType<T> const & rep);
|
||||||
|
|
||||||
//! Simplex noise.
|
//! Simplex noise.
|
||||||
//! From GLM_GTX_noise extension.
|
//! From GLM_GTX_noise extension.
|
||||||
template <typename T, template<typename> class vecType>
|
template <typename T, template<typename> class vecType>
|
||||||
typename T snoise(
|
T snoise(
|
||||||
vecType<T> const & p);
|
vecType<T> const & p);
|
||||||
|
|
||||||
///@}
|
///@}
|
||||||
|
@ -176,7 +176,6 @@ namespace noise
|
|||||||
dot(p3, x3)));
|
dot(p3, x3)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}//namespace noise
|
}//namespace noise
|
||||||
}//namespace gtx
|
}//namespace gtx
|
||||||
}//namespace glm
|
}//namespace glm
|
||||||
|
Loading…
Reference in New Issue
Block a user