mirror of
https://github.com/dualshock-tools/dualshock-tools.github.io.git
synced 2026-03-01 11:19:54 +03:00
Fix right threshold for circularity test
This commit is contained in:
2
core.js
2
core.js
@@ -1253,7 +1253,7 @@ function refresh_stick_pos() {
|
|||||||
ofl += Math.pow(ll_data[i] - 1, 2);
|
ofl += Math.pow(ll_data[i] - 1, 2);
|
||||||
}
|
}
|
||||||
for (i=0;i<rr_data.length;i++) {
|
for (i=0;i<rr_data.length;i++) {
|
||||||
if(ll_data[i] > 0.2) {
|
if(rr_data[i] > 0.2) {
|
||||||
rcounter += 1;
|
rcounter += 1;
|
||||||
ofr += Math.pow(rr_data[i] - 1, 2);
|
ofr += Math.pow(rr_data[i] - 1, 2);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user