/euclid3

Primary LanguagePython

euclid3
vector, matrix, quaternion and some geometry in 2D and 3D for Python 2.6+ and 3.3+
Last python tested: 3.8

This is a fork of euclid, http://code.google.com/p/pyeuclid/ maintained on behalf of cocos2d

Usage
-----

See "euclid.txt" for detailed documentation.  The file is readable as
plain text, and can also be compiled to a set of HTML pages with the
included Makefile (or docutils rst2html). 

The documentation contains some tests which can be run with::

    python -m doctest euclid.txt
    
Also they are some unittests in test_euclid.py which can be run with::

    python test_euclid.py

or::

    pytest test_euclid.py

Some additional code used for benchmark and testing lives at https://github.com/euclid3/dev_extras

License
-------

Copyright (c) 2006 Alex Holkner

This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
for more details.

You should have received a copy of the GNU Lesser General Public License
along with this library; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA