Setup Stone Elemental AI framework. Fix spritesheet alignment for certain animations. Setup animation data. Added casting animations.
This commit is contained in:
@@ -201,4 +201,8 @@ float util::angle_difference(float angle_1, float angle_2)
|
||||
angle_diff += 2 * PI;
|
||||
|
||||
return -angle_diff;
|
||||
}
|
||||
|
||||
const float util::distance(const vf2d&point1,const vf2d&point2){
|
||||
return vf2d{point1-point2}.mag();
|
||||
}
|
||||
Reference in New Issue
Block a user