SimplexRpgEngine
SimplexRpgEngine copied to clipboard
math_
Currently Finished Until Further Changes Required
Epsilon
- ✅math_set_epsilon
- ✅math_get_epsilon
Random
- ✅ choose
- ✅random
- ✅random_range
- ✅irandom
- ✅irandom_range
- ✅random_set_seed
- ✅random_get_seed
- ❌ random_use_old_version
- ✅randomize
Trig
- ✅arccos
- ✅arcsin
- ✅arctan
- ✅arctan2
- ✅sin
- ✅tan
- ✅cos
- ✅darccos
- ✅darcsin
- ✅darctan
- ✅darctan2
- ✅dsin
- ✅dtan
- ✅dcos
- ✅degtorad
- ✅radtodeg
- ✅lengthdir_x
- ✅lengthdir_y
Rounding
- ✅round
- ✅floor
- ✅frac
- ✅abs
- ✅sign
- ✅ceil
- ✅max
- ✅mean
- ✅median
- ✅min
- ✅lerp
- ✅clamp
Misc
- ✅exp
- ✅ln
- ✅power
- ✅sqr
- ✅sqrt
- ✅log2
- ✅log10
- ✅logn
- ❌ int64
Vector
- ✅point_direction
- ✅point_distance
- ❌ point_distance_3d
- ✔️dot_product
- ❌ dot_product_3d
- ✔️dot_product_normalised
- ❌dot_product_normalised_3d
- ✅angle_difference
Marked functions that won't be ported
I have been trying to understand dot_product and dot_product_normalized but just don't understand them enough to be able to really write a doc on them. Matej or Cryo, do you guys understand it enough to write one and I can edit the English?
Will add missing entries (dot_product).