getAngle method
Implementation
double getAngle(){
if(direction==0){
return math.pi/4*animation.value;
}else{
return math.pi/4+math.pi/4*(1-animation.value);
}
}
double getAngle(){
if(direction==0){
return math.pi/4*animation.value;
}else{
return math.pi/4+math.pi/4*(1-animation.value);
}
}