Skip to content

Commit

Permalink
Merge branch 'master' of github.com:DrAirRock/gl-matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
sognefej committed May 2, 2020
2 parents 450a713 + 8386ec5 commit 612300c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
6 changes: 2 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ Contributions are welcome and an important part of any open source project!

---
gl-matrix is downstream of [glMatrix](http://glmatrix.net/). New functionality in this project that is
not first accepted into [glMatrix](http://glmatrix.net/) will not be accepted here. If there is functionality
you feel is missing please attempt to add it to [glMatrix](http://glmatrix.net/) before submitting it here.

not first accepted into [glMatrix](http://glmatrix.net/) will not be accepted here.
## Project objectives

gl-matrix is intended to be a complete Rust port of [glMatrix](http://glmatrix.net/) for those who want
Expand Down Expand Up @@ -45,4 +43,4 @@ Maintainers tend to be picky. Make sure to:
- Follow the conventions of the existing code
- Follow Rust's naming conventions
- Have no warnings when building
- read [TESTING.md](./TESTING.md)
- read [TESTING.md](./TESTING.md)
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ name = "gl_matrix"
version = "0.0.1"
authors = ["Eric Sognefest"]
license = "MIT"
categories = ["wasm", "no-std"]
exclude = ["/.travis.yml", ".gitignore"]
edition = "2018"

[badges]
travis-ci = { repository = "sognefej/gl-matrix" }
coveralls = { repository = "sognefej/gl-matrix" }

[dependencies]
rand = "0.7.3"
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ gl_matrix provides utilities or all [glMatrix](http://glmatrix.net/) functions i
mat4::look_at(&mut view_matrix, &eye, &center, &up);
mat4::perspective(&mut proj_matrix, to_radian(45.), canvas_w / canvas_h, 0.1, Some(100.0));
```
## Features
- No std
- Compiles to wasm
- Familar syntax

## Future work
- Add support for f64 (Currently only f32)
- Add support for forEach

## Usage

Expand All @@ -47,4 +55,4 @@ See [CONTRIBUTING.md](./CONTRIBUTING.md)
## License
gl-matrix is under the terms of the MIT license.

[LICENSE](LICENSE)
[LICENSE](LICENSE)

0 comments on commit 612300c

Please sign in to comment.