Rewrite marker culling for signage

This commit is contained in:
Pyro Nicampt committed 2024-12-25 08:07:43 -06:00
1 parent 439dec2efd
commit 2298904f2f
2 files changed
+119 -66

No files matched your search

+1 -4
View File
@@ -34,14 +34,11 @@ export function rgba2hex(r,g,b,a=1.0){
}
export function gradeToClass(grade){
let result = '';
for(let j=0; j<gradeIncrements.length; j++){
if(grade > gradeIncrements[j]){
result = `grade_${gradeIncrements.length-(j+1)}`;
break;
return gradeIncrements.length-(j+1);
}
}
if(result) return result;
}
export function radiusToSpeed(radius){