view Math.h @ 1136:3dc32954f1c7

Слияние
author Ritor1
date Sat, 25 May 2013 02:23:47 +0600
parents 05c62d166182
children d98415be04ca
line wrap: on
line source

#pragma once



/*  186 */
#pragma pack(push, 1)
struct stru193_math
{
  stru193_math();
  int Cos(int angle);
  unsigned int Atan2(int x, int y);
  int Sin(int angle);

  int pTanTable[520];
  int pCosTable[520];
  int pInvCosTable[520];
  unsigned int uIntegerPi;
  unsigned int uIntegerHalfPi;
  unsigned int uIntegerDoublePi;
  unsigned int uDoublePiMask;
  unsigned int uPiMask;
  unsigned int uHalfPiMask;
};
#pragma pack(pop)


int fixpoint_sub0(int, int);
int fixpoint_div(int, int);
int fixpoint_mul(int, int);
int fixpoint_from_float(float value);


extern struct stru193_math *stru_5C6E00;