mirror of
https://github.com/wled/WLED.git
synced 2025-07-16 15:26:31 +00:00
Pinwheel fix
This commit is contained in:
parent
c0cb677a4c
commit
3cb6b17316
@ -660,7 +660,7 @@ static float getPinwheelAngle(int i, int vW, int vH) {
|
|||||||
if (maxXY <= Pinwheel_Size_Medium) return float(i) * Int_to_Rad_Med;
|
if (maxXY <= Pinwheel_Size_Medium) return float(i) * Int_to_Rad_Med;
|
||||||
if (maxXY <= Pinwheel_Size_Big) return float(i) * Int_to_Rad_Big;
|
if (maxXY <= Pinwheel_Size_Big) return float(i) * Int_to_Rad_Big;
|
||||||
// else
|
// else
|
||||||
return Pinwheel_Steps_XL;
|
return float(i) * Int_to_Rad_XL;
|
||||||
}
|
}
|
||||||
// Pinwheel helper function: matrix dimensions to number of rays
|
// Pinwheel helper function: matrix dimensions to number of rays
|
||||||
static int getPinwheelLength(int vW, int vH) {
|
static int getPinwheelLength(int vW, int vH) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user