noise.h 459 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright (c), Recep Aslantas.
  3. *
  4. * MIT License (MIT), http://opensource.org/licenses/MIT
  5. * Full license can be found in the LICENSE file
  6. */
  7. #ifndef cglmc_noise_h
  8. #define cglmc_noise_h
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. #include "../cglm.h"
  13. CGLM_EXPORT
  14. float
  15. glmc_perlin_vec4(vec4 point);
  16. CGLM_EXPORT
  17. float
  18. glmc_perlin_vec3(vec3 point);
  19. CGLM_EXPORT
  20. float
  21. glmc_perlin_vec2(vec2 point);
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25. #endif /* cglmc_noise_h */