Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FastNoiseLite.hlsl mixed-up comment Defaults #124

Closed
awardell opened this issue Dec 21, 2023 · 2 comments
Closed

FastNoiseLite.hlsl mixed-up comment Defaults #124

awardell opened this issue Dec 21, 2023 · 2 comments

Comments

@awardell
Copy link

/**
     * The distance function used in cellular noise calculations.
     * @remark Default: FNL_CELLULAR_FUNC_DISTANCE
     */
    fnl_cellular_distance_func cellular_distance_func;

    /**
     * The cellular return type from cellular noise calculations.
     * @remark Default: FNL_CELLULAR_RETURN_TYPE_EUCLIEANSQ
     */
    fnl_cellular_return_type cellular_return_type;

"DISTANCE" and "EUCLIDEAN" seem to be swapped. Haven't checked if other languages have the same issue.

@Auburn
Copy link
Owner

Auburn commented Dec 21, 2023

Yeah that look like a find and replace mistake

@tjammer
Copy link

tjammer commented Feb 20, 2024

I just noticed the same in the C bindings.

@Auburn Auburn closed this as completed in babfdd0 Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants