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

Fix undeclared identifier in srgb2lch funcs. #126

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion color/space/srgb2lch.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ use: <vec3|vec4> srgb2lch(<vec3|vec4> rgb)
#ifndef FNC_SRGB2LCH
#define FNC_SRGB2LCH
vec3 srgb2lch(const in vec3 srgb) { return rgb2lch(srgb2rgb(srgb));}
vec4 srgb2lch(const in vec4 srgb) { return vec4(srgb2lch(srgb.rgb),rgb.a); }
vec4 srgb2lch(const in vec4 srgb) { return vec4(srgb2lch(srgb.rgb),srgb.a); }
#endif
2 changes: 1 addition & 1 deletion color/space/srgb2lch.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ use: <float3|float4> srgb2lch(<float3|float4> rgb)
#ifndef FNC_SRGB2LCH
#define FNC_SRGB2LCH
float3 srgb2lch(const in float3 srgb) { return rgb2lch(srgb2rgb(srgb));}
float4 srgb2lch(const in float4 srgb) { return float4(srgb2lch(srgb.rgb),rgb.a); }
float4 srgb2lch(const in float4 srgb) { return float4(srgb2lch(srgb.rgb),srgb.a); }
#endif