/vector2d.mod

a 2d vector class for BlitzMax

Primary LanguageBlitzMax

Intro

Vector2D is a module for the BlitzMax language, and provides basic 2D vector math.

Documentation

Documentation is currently viewable on the project's wiki.

Installation

All my modules must be put in a subfolder of Blitzmax/mod/wdw.mod. To install this module, put the vector2d.mod folder in Blitzmax/mod/wdw.mod. You can do this in the following ways:

  1. Clone the repository into your BlitzMax/mod/wdw.mod directory using git clone git://github.com/wiebow/vector2d.mod.git
  2. Click the 'Download Source' button at the top of the Source section of the GitHub repository and extract this into your BlitzMax/mod/wdw.mod directory.

After this, simply run bmk makemods wdw.vector2d or rebuild the module from your IDE.

License

Vector2D is licensed under the MIT license:

Copyright (c) 2010 Wiebo de Wit.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.