diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2020-12-29 10:39:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-29 10:39:56 +0100 |
commit | 2086acfacc6da8c4e3bfedd887025686c38b90bd (patch) | |
tree | e21c78239bf82d8a1d4749c194a36b2cd2533b9a /core/io/image.h | |
parent | 0494c56c862620c33c2b1483b584118110e6b1f1 (diff) | |
parent | b4a190e0bc4885e33282ba68e4970f00601fa3c9 (diff) |
Merge pull request #44614 from madmiraal/rename-normalmap-normal_map
Consistently use normal_map
Diffstat (limited to 'core/io/image.h')
-rw-r--r-- | core/io/image.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/image.h b/core/io/image.h index 7280500c85..aba8f2b0a3 100644 --- a/core/io/image.h +++ b/core/io/image.h @@ -350,10 +350,10 @@ public: void fix_alpha_edges(); void premultiply_alpha(); void srgb_to_linear(); - void normalmap_to_xy(); + void normal_map_to_xy(); Ref<Image> rgbe_to_srgb(); Ref<Image> get_image_from_mipmap(int p_mipamp) const; - void bumpmap_to_normalmap(float bump_scale = 1.0); + void bump_map_to_normal_map(float bump_scale = 1.0); void blit_rect(const Ref<Image> &p_src, const Rect2 &p_src_rect, const Point2 &p_dest); void blit_rect_mask(const Ref<Image> &p_src, const Ref<Image> &p_mask, const Rect2 &p_src_rect, const Point2 &p_dest); |