mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
distance between two vectors
This commit is contained in:
@@ -45,4 +45,10 @@ glm_make_deg(float *rad) {
|
||||
*rad = *rad * 180.0f / CGLM_PI;
|
||||
}
|
||||
|
||||
CGLM_INLINE
|
||||
float
|
||||
glm_pow2(float x) {
|
||||
return x * x;
|
||||
}
|
||||
|
||||
#endif /* cglm_util_h */
|
||||
|
||||
Reference in New Issue
Block a user