Home
last modified time | relevance | path

Searched refs:ab (Results 1 – 1 of 1) sorted by relevance

/TwlSDK-5.3.6/build/libraries/fx/common/src/
Dfx_vec.c39 void VEC_Add(const VecFx32 *a, const VecFx32 *b, VecFx32 *ab) in VEC_Add() argument
43 SDK_NULL_ASSERT(ab); in VEC_Add()
45 ab->x = a->x + b->x; in VEC_Add()
46 ab->y = a->y + b->y; in VEC_Add()
47 ab->z = a->z + b->z; in VEC_Add()
63 void VEC_Subtract(const VecFx32 *a, const VecFx32 *b, VecFx32 *ab) in VEC_Subtract() argument
67 SDK_NULL_ASSERT(ab); in VEC_Subtract()
69 ab->x = a->x - b->x; in VEC_Subtract()
70 ab->y = a->y - b->y; in VEC_Subtract()
71 ab->z = a->z - b->z; in VEC_Subtract()
[all …]