Setup Stone Elemental AI framework. Fix spritesheet alignment for certain animations. Setup animation data. Added casting animations.

This commit is contained in:
2024-05-13 12:05:57 -05:00
parent 7292094358
commit 42b8cf5da7
8 changed files with 65 additions and 13 deletions
+4
View File
@@ -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();
}