7 years agoMerge branch 'master' of zeetha:fledgeling master
toad []
Merge branch 'master' of zeetha:fledgeling

7 years agoABOUT, initial commit.
toad []
ABOUT, initial commit.

7 years agoCoords.php:
Andrew Wilkinson []
Coords.php:
-Added basic vector algebra (dot, cross, unit)
UniSim.php:
-Proved it.

7 years agoSpaceNode.php:
toad []
SpaceNode.php:
-Added the trivial case in which get_location really just means
get_relative_coords. Duh.

7 years agoSpaceNode.php:
toad []
SpaceNode.php:
-Fixed id generation when making nodes with parents.
UniSim.php:
-Proved it.

7 years agoCoords.php:
toad []
Coords.php:
-Revised some comments.
UniSim.php:
-Added a few more vector arithmetic test cases.

7 years agoSpaceNode.php:
toad []
SpaceNode.php:
-Added get_infra_list()
-Added coordinate type check (infra inherits ultra)
-Redid get_location(T_STRING) to be more generic.
Coords.php:
-Added string() to all classes
-Added magnitude() to all classes
-Added convert() to all classes TODO: Make this less duplicative?
-Fixed conversion of Cartesian to Spherical because I was stupid before.
-Added basic vector arithmetic to the abstract
UniSim.php:
-Added a loop to read children of $universe.
-Added some trivial vector arithmetic test cases.

7 years agophp files should have execute bits. Also re-enabled id(), because it's
toad []
php files should have execute bits. Also re-enabled id(), because it's
a smart idea.

7 years agoBroke things out into files, adding some basic functionality to allow
toad []
Broke things out into files, adding some basic functionality to allow
creating nodes in a quasi-meaningful arrangement.

7 years agoAdded SpaceNode
Andy Wilkinson []
Added SpaceNode

7 years agodeleted: file
Andy Wilkinson []
deleted: file

7 years agoInitial commit
Andy Wilkinson []
Initial commit