img



img

Basic Mathematic Functions


By: _ForgeUser9
Addon | img 1,801




Description

___________________________________________________________________________________________________________________________

// Basic
int round(fixed f);
int floor(fixed f);
int ceil(fixed f);
bool isInt(fixed f);
fixed mod(fixed f, fixed k);

// Trigonometric
const fixed PI = 3.14159265;
const fixed PI_OVER_TWO = 1.570796326795;
const fixed ONE_OVER_PI = 0.318309886183;
const fixed SQRT_TWO = 1.414213562373;
const fixed MATH_E = 2.718281828459;

fixed cos (fixed x);
fixed sin (fixed x);
fixed tan (fixed x);
fixed sec (fixed x);
fixed csc (fixed x);
fixed cot (fixed x);

fixed DegToRad (fixed x);
fixed RadToDeg (fixed x);

// Point
fixed PointX(point p);
fixed PointY(point p);



About Project

Created: October 2nd 2023

Updated: October 2nd 2023

Project ID: 62904

License: All Rights Reserved

__________________________________________

Game Versions:

1.01.03

1.01.03

1.01.03

1.01.03

1.01.03

__________________________________________

Flavors:

WoW Retail

__________________________________________

Categories

Companions

Battle

__________________________________________

Main File

_ForgeUser9_Basic Mathematic Functions.zip
  • Release
  • October 2nd 2023

    __________________________________________

    Recent File

    _ForgeUser9_Basic Mathematic Functions.zip
  • Release
  • October 2nd 2023

    __________________________________________

    Members

    img
    _ForgeUser9
    Owner

    __________________________________________

    Report