Cleanup: use 'r_' prefix for output arguments
Also pass some args as 'const'.
This commit is contained in:
@@ -322,12 +322,12 @@ struct ImageTile *BKE_image_get_tile_from_iuser(struct Image *ima, struct ImageU
|
||||
|
||||
int BKE_image_get_tile_from_pos(struct Image *ima,
|
||||
const float uv[2],
|
||||
float new_uv[2],
|
||||
float ofs[2]);
|
||||
float r_uv[2],
|
||||
float r_ofs[2]);
|
||||
|
||||
void BKE_image_get_size(struct Image *image, struct ImageUser *iuser, int *width, int *height);
|
||||
void BKE_image_get_size_fl(struct Image *image, struct ImageUser *iuser, float size[2]);
|
||||
void BKE_image_get_aspect(struct Image *image, float *aspx, float *aspy);
|
||||
void BKE_image_get_size(struct Image *image, struct ImageUser *iuser, int *r_width, int *r_height);
|
||||
void BKE_image_get_size_fl(struct Image *image, struct ImageUser *iuser, float r_size[2]);
|
||||
void BKE_image_get_aspect(struct Image *image, float *r_aspx, float *r_aspy);
|
||||
|
||||
/* image_gen.c */
|
||||
void BKE_image_buf_fill_color(
|
||||
|
||||
Reference in New Issue
Block a user