[ci] Add lint check to prevent powf in core and base entity platforms (#14126)

This commit is contained in:
J. Nick Koston
2026-03-03 07:03:50 -10:00
committed by GitHub
parent 1f1b20f4fe
commit 78602ccacb
3 changed files with 52 additions and 4 deletions
+2 -2
View File
@@ -706,7 +706,7 @@ float gamma_correct(float value, float gamma) {
if (gamma <= 0.0f)
return value;
return powf(value, gamma);
return powf(value, gamma); // NOLINT - deprecated, removal 2026.9.0
}
float gamma_uncorrect(float value, float gamma) {
if (value <= 0.0f)
@@ -714,7 +714,7 @@ float gamma_uncorrect(float value, float gamma) {
if (gamma <= 0.0f)
return value;
return powf(value, 1 / gamma);
return powf(value, 1 / gamma); // NOLINT - deprecated, removal 2026.9.0
}
void rgb_to_hsv(float red, float green, float blue, int &hue, float &saturation, float &value) {