@@ -350,24 +350,26 @@ void c_guVecSub(const guVector *a,const guVector *b,guVector *ab);
350350void c_guVecScale (const guVector * src ,guVector * dst ,f32 scale );
351351void c_guVecNormalize (const guVector * src ,guVector * unit );
352352void c_guVecCross (const guVector * a ,const guVector * b ,guVector * axb );
353+ f32 c_guVecDotProduct (const guVector * a ,const guVector * b );
353354void c_guVecMultiply (const Mtx mt ,const guVector * src ,guVector * dst );
354355void c_guVecMultiplySR (const Mtx mt ,const guVector * src ,guVector * dst );
355- f32 c_guVecDotProduct (const guVector * a ,const guVector * b );
356356
357357#ifdef GEKKO
358358void ps_guVecAdd (const guVector * a ,const guVector * b ,guVector * ab );
359359void ps_guVecSub (const guVector * a ,const guVector * b ,guVector * ab );
360360void ps_guVecScale (const guVector * src ,guVector * dst ,f32 scale );
361361void ps_guVecNormalize (const guVector * src ,guVector * unit );
362362void ps_guVecCross (const guVector * a ,const guVector * b ,guVector * axb );
363+ f32 ps_guVecDotProduct (const guVector * a ,const guVector * b );
363364void ps_guVecMultiply (const Mtx mt ,const guVector * src ,guVector * dst );
364365void ps_guVecMultiplySR (const Mtx mt ,const guVector * src ,guVector * dst );
365- f32 ps_guVecDotProduct (const guVector * a ,const guVector * b );
366366#endif //GEKKO
367367
368368void c_guQuatAdd (const guQuaternion * a ,const guQuaternion * b ,guQuaternion * ab );
369369void c_guQuatSub (const guQuaternion * a ,const guQuaternion * b ,guQuaternion * ab );
370370void c_guQuatMultiply (const guQuaternion * a ,const guQuaternion * b ,guQuaternion * ab );
371+ void c_guQuatScale (const guQuaternion * src ,guQuaternion * dst ,f32 scale );
372+ f32 c_guQuatDotProduct (const guQuaternion * a ,const guQuaternion * b );
371373void c_guQuatNormalize (const guQuaternion * a ,guQuaternion * d );
372374void c_guQuatInverse (const guQuaternion * a ,guQuaternion * d );
373375void c_guQuatMtx (guQuaternion * a ,const Mtx m );
@@ -376,6 +378,8 @@ void c_guQuatMtx(guQuaternion *a,const Mtx m);
376378void ps_guQuatAdd (const guQuaternion * a ,const guQuaternion * b ,guQuaternion * ab );
377379void ps_guQuatSub (const guQuaternion * a ,const guQuaternion * b ,guQuaternion * ab );
378380void ps_guQuatMultiply (const guQuaternion * a ,const guQuaternion * b ,guQuaternion * ab );
381+ void ps_guQuatScale (const guQuaternion * src ,guQuaternion * dst ,f32 scale );
382+ f32 ps_guQuatDotProduct (const guQuaternion * a ,const guQuaternion * b );
379383void ps_guQuatNormalize (const guQuaternion * a ,guQuaternion * d );
380384void ps_guQuatInverse (const guQuaternion * a ,guQuaternion * d );
381385#endif
@@ -436,14 +440,16 @@ void guMtx44RotAxisRad(Mtx44 mt,const guVector *axis,f32 rad);
436440#define guVecSub c_guVecSub
437441#define guVecScale c_guVecScale
438442#define guVecNormalize c_guVecNormalize
439- #define guVecMultiply c_guVecMultiply
440443#define guVecCross c_guVecCross
441- #define guVecMultiplySR c_guVecMultiplySR
442444#define guVecDotProduct c_guVecDotProduct
445+ #define guVecMultiply c_guVecMultiply
446+ #define guVecMultiplySR c_guVecMultiplySR
443447
444448#define guQuatAdd c_guQuatAdd
445449#define guQuatSub c_guQuatSub
446450#define guQuatMultiply c_guQuatMultiply
451+ #define guQuatScale c_guQuatScale
452+ #define guQuatDotProduct c_guQuatDotProduct
447453#define guQuatNormalize c_guQuatNormalize
448454#define guQuatInverse c_guQuatInverse
449455#define guQuatMtx c_guQuatMtx
@@ -472,14 +478,16 @@ void guMtx44RotAxisRad(Mtx44 mt,const guVector *axis,f32 rad);
472478#define guVecSub ps_guVecSub
473479#define guVecScale ps_guVecScale
474480#define guVecNormalize ps_guVecNormalize
475- #define guVecMultiply ps_guVecMultiply
476481#define guVecCross ps_guVecCross
477- #define guVecMultiplySR ps_guVecMultiplySR
478482#define guVecDotProduct ps_guVecDotProduct
483+ #define guVecMultiply ps_guVecMultiply
484+ #define guVecMultiplySR ps_guVecMultiplySR
479485
480486#define guQuatAdd ps_guQuatAdd
481487#define guQuatSub ps_guQuatSub
482488#define guQuatMultiply ps_guQuatMultiply
489+ #define guQuatScale ps_guQuatScale
490+ #define guQuatDotProduct ps_guQuatDotProduct
483491#define guQuatNormalize ps_guQuatNormalize
484492#define guQuatInverse ps_guQuatInverse
485493#define guQuatMtx c_guQuatMtx
0 commit comments