BasicMath

by AbyssDragon
Standard Geometric and Mathematical procs for every project
ID:91584
 
This library contains basic geometric and mathemetical procs that I have found useful in nearly every project.

(used to be AbyssDragon.AbyssLibrary)

Here's what it contains:
getline() - uses a very fast algorithm to draw get a list of turfs in a line between two points
getcircle() - get a list of turfs forming a filled circle of any width around a center
getring() - get a list of turfs forming a ring of any width around a center
xrange() - extended version of range(), works at any range
midpoint() - find midpoint between two atoms
distance() - find true distance
get_steps() - a multi-step version of get_step()
cardinal() - gets a list all turfs in the four cardinal directions from a target
cardinal_stuff() - gets a list of all mobs/objs in the four cardinal directions from a target
allclear() - checks for dense objs/mobs in a turf
sign() returns the sign of a number

For news and updates, go to molotov.nu.

Return to AbyssDragon.TheAbyss