view Math.h @ 1095:7c3772c91c7c

Merge
author Gloval
date Sun, 26 May 2013 18:56:45 +0400
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;