Fix compile error.

This commit is contained in:
Relintai 2023-05-27 13:58:49 +02:00
parent 96d1c2d69c
commit d19e6f11e9

View File

@ -5756,7 +5756,7 @@ void Variant::interpolate(const Variant &a, const Variant &b, float c, Variant &
PoolVector<Vector4>::Read br = arr_b->read(); PoolVector<Vector4>::Read br = arr_b->read();
for (int i = 0; i < sz; i++) { for (int i = 0; i < sz; i++) {
vw[i] = ar[i].lerp(br[i], c); vw[i] = ar[i].linear_interpolate(br[i], c);
} }
} }
r_dst = v; r_dst = v;