-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.Vector4Lerp
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Calculate linear interpolation between two vectors
| Parameter | Default Value | Note |
|---|---|---|
| v1 | [0, 0, 0, 0] | |
| v2 | [0, 0, 0, 0] | |
| amount | 0 |
| Condition | Return Value |
|---|---|
| (always) | list |
v1 = [0, 0, 0, 0]
v2 = [10, 20, 30, 40]
result = raylib.Vector4Lerp(v1, v2, 0.5)
print result // [5, 10, 15, 20]