distance between two vectors

This commit is contained in:
Recep Aslantas
2017-04-09 21:14:26 +03:00
parent 86c585b9e5
commit bf18ca647e
4 changed files with 44 additions and 0 deletions

View File

@@ -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 */