small fixes for config, entity, and some physics functions for vector2

This commit is contained in:
herbglitch 2025-04-07 06:41:52 -06:00
parent 017629872f
commit 21a66f7fe6
5 changed files with 60 additions and 3 deletions

View file

@ -28,6 +28,30 @@ void ARC_Vector2_Normalize(ARC_Vector2 *vector);
*/
void ARC_Vector2_RotateDegree(ARC_Vector2 *vector, float angle);
/**
* @brief
*
* @param vector1
* @param vector2
*/
float ARC_Vector2_CrossProduct(ARC_Vector2 vector1, ARC_Vector2 vector2);
/**
* @brief
*
* @param vector
* @param scalar
*/
ARC_Vector2 ARC_Vector2_CrossProductScalar(ARC_Vector2 vector, float scalar);
/**
* @brief
*
* @param scalar
* @param vector
*/
ARC_Vector2 ARC_Vector2_ScalarCrossProduct(float scalar, ARC_Vector2 vector);
#ifdef __cplusplus
}
#endif