mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Fix cschden, cothden variations
This commit is contained in:
parent
5ce5763da7
commit
e79d9a58fd
@ -962,13 +962,13 @@ var(93, 'sech', """
|
||||
""")
|
||||
|
||||
var(94, 'csch', """
|
||||
cschden = 2.0f/(coshf(2.0f*tx) - cosf(2.0f*ty));
|
||||
float cschden = 2.0f/(coshf(2.0f*tx) - cosf(2.0f*ty));
|
||||
ox += w * cschden * sinhf(tx) * cosf(ty);
|
||||
oy -= w * cschden * coshf(tx) * sinf(ty);
|
||||
""")
|
||||
|
||||
var(95, 'coth', """
|
||||
cothden = 1.0f/(coshf(2.0f*tx) - cosf(2.0f*ty));
|
||||
float cothden = 1.0f/(coshf(2.0f*tx) - cosf(2.0f*ty));
|
||||
ox += w * cothden * sinhf(2.0f*tx);
|
||||
oy += w * cothden * sinf(2.0f*ty);
|
||||
""")
|
||||
|
Loading…
Reference in New Issue
Block a user