Skip to content

Commit

Permalink
Fix #124 Incorrect default value comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Auburn committed Feb 20, 2024
1 parent d5d42d9 commit babfdd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions GLSL/FastNoiseLite.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions HLSL/FastNoiseLite.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit babfdd0

Please sign in to comment.