Skip to content

Commit be3ba88

Browse files
authored
Merge pull request #4 from xlab-sfc/OF098
modify library for of0.9.8
2 parents c4dd215 + 49a7642 commit be3ba88

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

libs/LibGizmo/ZMathsFunc.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ inline float MathCoonsCubicSplineF4(float t)
442442

443443
///////////////////////////////////////////////////////////////////////////////////////////////////
444444

445-
__forceinline float MathCos(const float f)
445+
inline float MathCos(const float f)
446446
{
447447
#ifdef PSM_GCC
448448
return (float)cos(f);
@@ -453,7 +453,7 @@ __forceinline float MathCos(const float f)
453453

454454
///////////////////////////////////////////////////////////////////////////////////////////////////
455455

456-
__forceinline float MathSin(const float f)
456+
inline float MathSin(const float f)
457457
{
458458
#ifdef PSM_GCC
459459
return (float)sin(f);
@@ -464,7 +464,7 @@ __forceinline float MathSin(const float f)
464464

465465
///////////////////////////////////////////////////////////////////////////////////////////////////
466466

467-
__forceinline float MathTan(const float f)
467+
inline float MathTan(const float f)
468468
{
469469
#ifdef PSM_GCC
470470
return (float)tan(f);
@@ -475,7 +475,7 @@ __forceinline float MathTan(const float f)
475475

476476
///////////////////////////////////////////////////////////////////////////////////////////////////
477477

478-
__forceinline float MathACos(const float f)
478+
inline float MathACos(const float f)
479479
{
480480
#ifdef PSM_GCC
481481
return (float)acos(f);
@@ -500,7 +500,7 @@ __forceinline float MathACos(const float f)
500500

501501
///////////////////////////////////////////////////////////////////////////////////////////////////
502502

503-
__forceinline float MathASin(const float f)
503+
inline float MathASin(const float f)
504504
{
505505
#ifdef PSM_GCC
506506
return (float)asin(f);
@@ -511,7 +511,7 @@ __forceinline float MathASin(const float f)
511511

512512
///////////////////////////////////////////////////////////////////////////////////////////////////
513513

514-
__forceinline float MathATan(const float f)
514+
inline float MathATan(const float f)
515515
{
516516
#ifdef PSM_GCC
517517
return atan(f);

0 commit comments

Comments
 (0)