@@ -333,7 +333,7 @@ void guLookAt(Mtx mt,guVector *camPos,guVector *camUp,guVector *target);
333333 * surface to the general viewing direction.
334334 *
335335 * \a a and \a b do not have to be unit vectors. Both of these vectors are assumed to be pointing towards the surface from the
336- * light or viewer, respectively. Local copies of these vectors are negated, normalized and added head to tail.
336+ * light or viewer, respectively. Local copies of these vectors are negated, normalized and added head to tail.
337337 *
338338 * \a half is computed as a unit vector that points from the surface to halfway between the light and the viewing direction.
339339 *
@@ -355,14 +355,14 @@ void c_guVecMultiplySR(Mtx mt,guVector *src,guVector *dst);
355355f32 c_guVecDotProduct (guVector * a ,guVector * b );
356356
357357#ifdef GEKKO
358- void ps_guVecAdd (register guVector * a ,register guVector * b ,register guVector * ab );
359- void ps_guVecSub (register guVector * a ,register guVector * b ,register guVector * ab );
360- void ps_guVecScale (register guVector * src ,register guVector * dst ,f32 scale );
361- void ps_guVecNormalize (register guVector * v );
362- void ps_guVecCross (register guVector * a ,register guVector * b ,register guVector * axb );
363- void ps_guVecMultiply (register Mtx mt ,register guVector * src ,register guVector * dst );
364- void ps_guVecMultiplySR (register Mtx mt ,register guVector * src ,register guVector * dst );
365- f32 ps_guVecDotProduct (register guVector * a ,register guVector * b );
358+ void ps_guVecAdd ( guVector * a , guVector * b , guVector * ab );
359+ void ps_guVecSub ( guVector * a , guVector * b , guVector * ab );
360+ void ps_guVecScale ( guVector * src , guVector * dst ,f32 scale );
361+ void ps_guVecNormalize ( guVector * v );
362+ void ps_guVecCross ( guVector * a , guVector * b , guVector * axb );
363+ void ps_guVecMultiply ( Mtx mt , guVector * src , guVector * dst );
364+ void ps_guVecMultiplySR ( Mtx mt , guVector * src , guVector * dst );
365+ f32 ps_guVecDotProduct ( guVector * a , guVector * b );
366366#endif //GEKKO
367367
368368void c_guQuatAdd (guQuaternion * a ,guQuaternion * b ,guQuaternion * ab );
@@ -373,11 +373,11 @@ void c_guQuatInverse(guQuaternion *a,guQuaternion *d);
373373void c_guQuatMtx (guQuaternion * a ,Mtx m );
374374
375375#ifdef GEKKO
376- void ps_guQuatAdd (register guQuaternion * a ,register guQuaternion * b ,register guQuaternion * ab );
377- void ps_guQuatSub (register guQuaternion * a ,register guQuaternion * b ,register guQuaternion * ab );
378- void ps_guQuatMultiply (register guQuaternion * a ,register guQuaternion * b ,register guQuaternion * ab );
379- void ps_guQuatNormalize (register guQuaternion * a ,register guQuaternion * d );
380- void ps_guQuatInverse (register guQuaternion * a ,register guQuaternion * d );
376+ void ps_guQuatAdd ( guQuaternion * a , guQuaternion * b , guQuaternion * ab );
377+ void ps_guQuatSub ( guQuaternion * a , guQuaternion * b , guQuaternion * ab );
378+ void ps_guQuatMultiply ( guQuaternion * a , guQuaternion * b , guQuaternion * ab );
379+ void ps_guQuatNormalize ( guQuaternion * a , guQuaternion * d );
380+ void ps_guQuatInverse ( guQuaternion * a , guQuaternion * d );
381381#endif
382382
383383void c_guMtxIdentity (Mtx mt );
@@ -399,22 +399,22 @@ void c_guMtxReflect(Mtx m,guVector *p,guVector *n);
399399void c_guMtxQuat (Mtx m ,guQuaternion * a );
400400
401401#ifdef GEKKO
402- void ps_guMtxIdentity (register Mtx mt );
403- void ps_guMtxCopy (register Mtx src ,register Mtx dst );
404- void ps_guMtxConcat (register Mtx a ,register Mtx b ,register Mtx ab );
405- void ps_guMtxTranspose (register Mtx src ,register Mtx xPose );
406- u32 ps_guMtxInverse (register Mtx src ,register Mtx inv );
407- u32 ps_guMtxInvXpose (register Mtx src ,register Mtx xPose );
408- void ps_guMtxScale (register Mtx mt ,register f32 xS ,register f32 yS ,register f32 zS );
409- void ps_guMtxScaleApply (register Mtx src ,register Mtx dst ,register f32 xS ,register f32 yS ,register f32 zS );
410- void ps_guMtxApplyScale (register Mtx src ,register Mtx dst ,register f32 xS ,register f32 yS ,register f32 zS );
411- void ps_guMtxTrans (register Mtx mt ,register f32 xT ,register f32 yT ,register f32 zT );
412- void ps_guMtxTransApply (register Mtx src ,register Mtx dst ,register f32 xT ,register f32 yT ,register f32 zT );
413- void ps_guMtxApplyTrans (register Mtx src ,register Mtx dst ,register f32 xT ,register f32 yT ,register f32 zT );
414- void ps_guMtxRotRad (register Mtx mt ,register const char axis ,register f32 rad );
415- void ps_guMtxRotTrig (register Mtx mt ,register const char axis ,register f32 sinA ,register f32 cosA );
416- void ps_guMtxRotAxisRad (register Mtx mt ,register guVector * axis ,register f32 tmp0 );
417- void ps_guMtxReflect (register Mtx m ,register guVector * p ,register guVector * n );
402+ void ps_guMtxIdentity ( Mtx mt );
403+ void ps_guMtxCopy ( Mtx src , Mtx dst );
404+ void ps_guMtxConcat ( Mtx a , Mtx b , Mtx ab );
405+ void ps_guMtxTranspose ( Mtx src , Mtx xPose );
406+ u32 ps_guMtxInverse ( Mtx src , Mtx inv );
407+ u32 ps_guMtxInvXpose ( Mtx src , Mtx xPose );
408+ void ps_guMtxScale ( Mtx mt , f32 xS , f32 yS , f32 zS );
409+ void ps_guMtxScaleApply ( Mtx src , Mtx dst , f32 xS , f32 yS , f32 zS );
410+ void ps_guMtxApplyScale ( Mtx src , Mtx dst , f32 xS , f32 yS , f32 zS );
411+ void ps_guMtxTrans ( Mtx mt , f32 xT , f32 yT , f32 zT );
412+ void ps_guMtxTransApply ( Mtx src , Mtx dst , f32 xT , f32 yT , f32 zT );
413+ void ps_guMtxApplyTrans ( Mtx src , Mtx dst , f32 xT , f32 yT , f32 zT );
414+ void ps_guMtxRotRad ( Mtx mt , const char axis , f32 rad );
415+ void ps_guMtxRotTrig ( Mtx mt , const char axis , f32 sinA , f32 cosA );
416+ void ps_guMtxRotAxisRad ( Mtx mt , guVector * axis , f32 tmp0 );
417+ void ps_guMtxReflect ( Mtx m , guVector * p , guVector * n );
418418#endif //GEKKO
419419
420420void guMtx44Identity (Mtx44 mt );
0 commit comments