summaryrefslogtreecommitdiff
path: root/src/core/texture.c
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-07-11 00:29:49 +0800
committerchai <chaifix@163.com>2020-07-11 00:29:49 +0800
commite849a07762a2feb3f124a08d50adeed52f085d5b (patch)
tree69207f80cf3372c6d5801d006966888f219e2a19 /src/core/texture.c
parent44e6647ab365a9261c904be839e356c06a545907 (diff)
*加internal前缀
Diffstat (limited to 'src/core/texture.c')
-rw-r--r--src/core/texture.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/texture.c b/src/core/texture.c
index bb33bae..ecde0f4 100644
--- a/src/core/texture.c
+++ b/src/core/texture.c
@@ -107,9 +107,9 @@ Color32 texture_sampling(Texture* tex, float x01, float y01) {
bl = sampling(tex, wrap_mode, x_min, y_max);
br = sampling(tex, wrap_mode, x_max, y_max);
- vec4_lerp(&tl, &tr, x - x_min, &t);
- vec4_lerp(&bl, &br, x - x_min, &b);
- vec4_lerp(&t, &b, y - y_min, &out);
+ internal_vec4_lerp(&tl, &tr, x - x_min, &t);
+ internal_vec4_lerp(&bl, &br, x - x_min, &b);
+ internal_vec4_lerp(&t, &b, y - y_min, &out);
return out;
}