Blender  V2.59
Basic.h
Go to the documentation of this file.
00001 
00029 int             min_i                           (int a, int b);
00030 
00031 int             max_i                           (int a, int b);
00032 int             clamp_i                         (int val, int min, int max); 
00033 
00034 float   min_f                           (float a, float b); 
00035 float   max_f                           (float a, float b); 
00036 float   clamp_f                         (float val, float min, float max); 
00037 
00038 void    rect_copy                       (int dst[2][2], int src[2][2]);
00039 int             rect_contains_pt        (int rect[2][2], int pt[2]);
00040 int             rect_width                      (int rect[2][2]);
00041 int             rect_height                     (int rect[2][2]);
00042