Standard Geometric and Mathematical procs for every project
Version 1 · Date Added: 2/22/02

If you wish to download this library for your Linux/Mac installation, enter the following on your command line:

DreamDownload byond://AbyssDragon.BasicMath##version=1

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:

byond://AbyssDragon.BasicMath##version=1

[BYOND Favorite]BYOND Favorite
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