view Math.h @ 1123:8a965c8faf05

sub_451007_scale_image_bicubic cleanup - removing some duplicate variables
author Grumpy7
date Fri, 31 May 2013 00:38:25 +0200
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;