# transform-matrix [![Crates.io](https://img.shields.io/crates/v/transform-matrix.svg)](https://crates.io/crates/transform-matrix) [![Docs.rs](https://docs.rs/transform-matrix/badge.svg)](https://docs.rs/transform-matrix) ![Crates.io](https://img.shields.io/crates/l/transform-matrix) [![CircleCI](https://circleci.com/gh/OllieBerzs/transform-matrix.svg?style=svg)](https://circleci.com/gh/OllieBerzs/transform-matrix) Create transformation matrices for [OpenGL][opengl] in the [Rust programming language][rust]. ## Documentation - [API Documentation][docs] ## Example A simple example to create a transformation matrix that moves and projects the view: ```rust use transform_matrix::*; fn main() { let _t = Transform::new() .translate(4.0, 5.0, 0.0) .orthographic(480.0, 360.0, 100.0); // Use the matrix _t in OpenGL } ``` [rust]: https://www.rust-lang.org/ [opengl]: https://opengl.org/ [docs]: https://docs.rs/transform-matrix/