Max Cahill
|
a2c7800290
|
Note about branchless or abs-based mathx.sign
|
2021-06-29 14:44:09 +10:00 |
|
Max Cahill
|
d9da4749e2
|
[added] some randomness helper functions to mathx
|
2021-05-04 11:41:22 +10:00 |
|
Max Cahill
|
7c975e8c4a
|
[removed] prime stuff from mathx; hard to justify the filesize
|
2021-05-04 11:40:20 +10:00 |
|
Max Cahill
|
cd1f9f097a
|
[added] mathx.length, mathx.distance for "inline" geometry stuff
|
2020-09-02 13:34:10 +10:00 |
|
Max Cahill
|
b4e2cff498
|
[added] mathx.bilerp which does a bilinear interpolation from 4 samples
|
2020-07-27 21:47:06 +10:00 |
|
Max Cahill
|
5230e8f9d6
|
[fixed] mathx.wrap over-complicated impl, mathx.round (thanks @MikuAuahDark/@sharpobject)
|
2020-07-09 15:32:42 +10:00 |
|
Max Cahill
|
9d0a7d6e86
|
[added] mathx.isnan, does what it says on the tin
|
2020-05-20 21:02:51 +10:00 |
|
Max Cahill
|
4a2505a04d
|
[added] mathx.relative_angle replaced with mathx.angle_difference and direction "fixed"
Fixes issue #6 after discussion was in favour of change.
|
2020-05-01 12:59:58 +10:00 |
|
Max Cahill
|
7deef92639
|
[added] mathx.lerp_angle and notes about possible changes to mathx.relative_angle
|
2020-04-30 16:38:59 +10:00 |
|
Max Cahill
|
54b21ce159
|
[added] mathx.wrap_index
|
2020-04-09 17:39:46 +10:00 |
|
Max Cahill
|
6386aaf298
|
[modified] big refactor to localised modules and require("batteries"):export() for global usage; renamed files table to tablex and math to mathx to allow using the library in your module root if you really want to.
|
2020-04-07 13:49:10 +10:00 |
|