Ignore:
Timestamp:
Nov 16, 2003, 1:33:35 AM (19 years ago)
Author:
Sam Hocevar
Message:
  • Renamed libee to libcaca. Far less collisions.
Location:
libcaca/trunk/libcaca
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/libcaca/math.c

    r171 r185  
    11/*
    2  *   libee         ASCII-Art library
     2 *   libcaca       ASCII-Art library
    33 *   Copyright (c) 2002, 2003 Sam Hocevar <sam@zoy.org>
    44 *                 All Rights Reserved
     
    2525#include <stdlib.h>
    2626
    27 #include "ee.h"
    28 #include "ee_internals.h"
     27#include "caca.h"
     28#include "caca_internals.h"
    2929
    30 int ee_rand(int min, int max)
     30int caca_rand(int min, int max)
    3131{
    3232    return min + (int)((1.0*(max-min+1)) * rand() / (RAND_MAX+1.0));
    3333}
    3434
    35 unsigned int ee_sqrt(unsigned int a)
     35unsigned int caca_sqrt(unsigned int a)
    3636{
    3737    if(a == 0)
     
    5555    }
    5656
    57     return 2 * ee_sqrt(a / 4);
     57    return 2 * caca_sqrt(a / 4);
    5858}
    5959
Note: See TracChangeset for help on using the changeset viewer.