Ignore:
Timestamp:
Nov 9, 2003, 2:32:04 PM (19 years ago)
Author:
Sam Hocevar
Message:
  • libee/io.c: + Moved ee_get_key() here.
  • libee/math.c: + Moved r00t() here and renamed it to ee_sqrt(). + Moved GET_RAND() here and renamed it to ee_rand().
  • src/math.c: + Removed this deprecated file.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/weapons.c

    r87 r89  
    173173                if(dx | dy)
    174174                {
    175                     int norm = r00t(dx * dx + 4 * dy * dy);
     175                    int norm = ee_sqrt(dx * dx + 4 * dy * dy);
    176176                    dx = dx * 32 / norm;
    177177                    dy = dy * 32 / norm;
     
    185185                if(dx | dy)
    186186                {
    187                     int norm = r00t(dx * dx + 4 * dy * dy);
     187                    int norm = ee_sqrt(dx * dx + 4 * dy * dy);
    188188                    wp->vx[i] = dx * 32 / norm;
    189189                    wp->vy[i] = dy * 32 / norm;
Note: See TracChangeset for help on using the changeset viewer.