Blender V2.61 - r43446

Basic.h

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