Basic read me and added copy of MIT License to cga.rs
This commit is contained in:
5
Readme.md
Normal file
5
Readme.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
This is a project to create a game of Asteroids set in hyperbolic space, using Conformal Geometric Algebra to do the calculations. This is partially a learning project and partially to make a fun game.
|
||||||
|
|
||||||
|
The CGA library used in this project is from [ganja.js](https://github.com/enkimute/ganja.js), and is licensed under the MIT License. The sourced version is permalinked [here](https://github.com/enkimute/ganja.js/blob/6e97cb45d780cd7c661d9240f1610eb005707417/codegen/rust/cga.rs). Minor modifications have been added, mainly to eliminate rust warnings.
|
||||||
|
|
||||||
|
All code that is original to this project may be licensed under the terms of the GPLv3 License.
|
||||||
23
src/cga.rs
23
src/cga.rs
@@ -2,6 +2,29 @@
|
|||||||
//Original at:
|
//Original at:
|
||||||
//https://github.com/enkimute/ganja.js/blob/6e97cb45d780cd7c661d9240f1610eb005707417/codegen/rust/cga.rs
|
//https://github.com/enkimute/ganja.js/blob/6e97cb45d780cd7c661d9240f1610eb005707417/codegen/rust/cga.rs
|
||||||
|
|
||||||
|
/* MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2017 Steven De Keninck
|
||||||
|
|
||||||
|
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.
|
||||||
|
*/
|
||||||
|
|
||||||
// 3D Projective Geometric Algebra
|
// 3D Projective Geometric Algebra
|
||||||
// Written by a generator written by enki.
|
// Written by a generator written by enki.
|
||||||
#![allow(unused_imports)]
|
#![allow(unused_imports)]
|
||||||
|
|||||||
Reference in New Issue
Block a user