From babfdd018df57464bbfda0e6a1072c063843dec4 Mon Sep 17 00:00:00 2001 From: Auburn Date: Tue, 20 Feb 2024 22:27:18 +0000 Subject: [PATCH] Fix #124 Incorrect default value comments --- GLSL/FastNoiseLite.glsl | 4 ++-- HLSL/FastNoiseLite.hlsl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/GLSL/FastNoiseLite.glsl b/GLSL/FastNoiseLite.glsl index 330e7d2..1edb2bd 100644 --- a/GLSL/FastNoiseLite.glsl +++ b/GLSL/FastNoiseLite.glsl @@ -143,11 +143,11 @@ struct fnl_state float ping_pong_strength; // The distance function used in cellular noise calculations. - // @remark Default: FNL_CELLULAR_FUNC_DISTANCE + // @remark Default: FNL_CELLULAR_DISTANCE_EUCLIDEANSQ fnl_cellular_distance_func cellular_distance_func; // The cellular return type from cellular noise calculations. - // @remark Default: FNL_CELLULAR_RETURN_TYPE_EUCLIEANSQ + // @remark Default: FNL_CELLULAR_RETURN_TYPE_DISTANCE fnl_cellular_return_type cellular_return_type; // The maximum distance a cellular point can move from it's grid position. diff --git a/HLSL/FastNoiseLite.hlsl b/HLSL/FastNoiseLite.hlsl index 7781cbe..3133588 100644 --- a/HLSL/FastNoiseLite.hlsl +++ b/HLSL/FastNoiseLite.hlsl @@ -174,13 +174,13 @@ struct fnl_state /** * The distance function used in cellular noise calculations. - * @remark Default: FNL_CELLULAR_FUNC_DISTANCE + * @remark Default: FNL_CELLULAR_DISTANCE_EUCLIDEANSQ */ fnl_cellular_distance_func cellular_distance_func; /** * The cellular return type from cellular noise calculations. - * @remark Default: FNL_CELLULAR_RETURN_TYPE_EUCLIEANSQ + * @remark Default: FNL_CELLULAR_RETURN_TYPE_DISTANCE */ fnl_cellular_return_type cellular_return_type;