small fixes for config, entity, and some physics functions for vector2
This commit is contained in:
parent
017629872f
commit
21a66f7fe6
5 changed files with 60 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue