Fixed noise function declarations
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user