ARC_FObround added

This commit is contained in:
herbglitch 2023-06-25 22:14:32 -06:00
parent c3361f640c
commit 5aede928d8
7 changed files with 62 additions and 0 deletions

View file

@ -3,6 +3,10 @@
void ARC_Vector2_Normalize(ARC_Vector2 *vector){
float length = sqrtf((vector->x * vector->x) + (vector->y * vector->y));
if(length == 0){
return;
}
vector->x /= length;
vector->y /= length;
}