mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-24 15:25:20 +00:00
Fix typo in cubic().
This commit is contained in:
@@ -311,7 +311,7 @@ hermite :: proc(v1, t1, v2, t2: $T/[$N]$E, s: E) -> T {
|
||||
}
|
||||
|
||||
cubic :: proc(v1, v2, v3, v4: $T/[$N]$E, s: E) -> T {
|
||||
return ((v1 * s + v2) * s + v3) * s + v3;
|
||||
return ((v1 * s + v2) * s + v3) * s + v4;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user