@@ -333,7 +333,7 @@ void guLookAt(Mtx mt,guVector *camPos,guVector *camUp,guVector *target);
333
333
* surface to the general viewing direction.
334
334
*
335
335
* \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.
337
337
*
338
338
* \a half is computed as a unit vector that points from the surface to halfway between the light and the viewing direction.
339
339
*
@@ -355,14 +355,14 @@ void c_guVecMultiplySR(Mtx mt,guVector *src,guVector *dst);
355
355
f32 c_guVecDotProduct (guVector * a ,guVector * b );
356
356
357
357
#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 );
366
366
#endif //GEKKO
367
367
368
368
void c_guQuatAdd (guQuaternion * a ,guQuaternion * b ,guQuaternion * ab );
@@ -373,11 +373,11 @@ void c_guQuatInverse(guQuaternion *a,guQuaternion *d);
373
373
void c_guQuatMtx (guQuaternion * a ,Mtx m );
374
374
375
375
#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 );
381
381
#endif
382
382
383
383
void c_guMtxIdentity (Mtx mt );
@@ -399,22 +399,22 @@ void c_guMtxReflect(Mtx m,guVector *p,guVector *n);
399
399
void c_guMtxQuat (Mtx m ,guQuaternion * a );
400
400
401
401
#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 );
418
418
#endif //GEKKO
419
419
420
420
void guMtx44Identity (Mtx44 mt );
0 commit comments