Blender
V3.3
|
Go to the source code of this file.
Functions | |
int | min_i (int a, int b) |
int | max_i (int a, int b) |
int | clamp_i (int val, int min, int max) |
float | min_f (float a, float b) |
float | max_f (float a, float b) |
float | clamp_f (float val, float min, float max) |
void | rect_copy (int dst[2][2], int src[2][2]) |
int | rect_contains_pt (int rect[2][2], int pt[2]) |
int | rect_width (int rect[2][2]) |
int | rect_height (int rect[2][2]) |
int clamp_i | ( | int | val, |
int | min, | ||
int | max | ||
) |
Definition at line 23 of file Basic.c.
References Freestyle::a, and usdtokens::b().
Referenced by clamp_f().
int max_i | ( | int | a, |
int | b | ||
) |
Definition at line 10 of file Basic.c.
References Freestyle::a, and usdtokens::b().
Referenced by BKE_gpencil_stroke_simplify_adaptive(), clamp_i(), and rand_range_i().
Definition at line 19 of file Basic.c.
References Freestyle::a, and usdtokens::b().
Referenced by clamp_f().
int min_i | ( | int | a, |
int | b | ||
) |
Definition at line 6 of file Basic.c.
References Freestyle::a, and usdtokens::b().
Referenced by clamp_i(), loggerwindow_do_draw(), rand_range_i(), and update_cut_data_for_nurb().
int rect_contains_pt | ( | int | rect[2][2], |
int | pt[2] | ||
) |
Definition at line 37 of file Basic.c.
Referenced by scrollbar_contains_pt().
void rect_copy | ( | int | dst[2][2], |
int | src[2][2] | ||
) |
Definition at line 32 of file Basic.c.
References src.
Referenced by scrollbar_get_rect(), scrollbar_set_rect(), and ui_draw_widget_back_color().
int rect_height | ( | int | rect[2][2] | ) |
Definition at line 46 of file Basic.c.
Referenced by eevee_cryptomatte_extract_render_passes(), EEVEE_cryptomatte_render_result(), projmat_from_subregion(), scrollbar_get_thumbableH(), scrollbar_get_thumbH(), and ui_view2d_cur_ensure_rect_in_view().
int rect_width | ( | int | rect[2][2] | ) |
Definition at line 42 of file Basic.c.
Referenced by eevee_cryptomatte_extract_render_passes(), EEVEE_cryptomatte_render_result(), projmat_from_subregion(), and ui_view2d_cur_ensure_rect_in_view().