cgmath-std140 0.2.2

Bridge crate that provides conversion from `cgmath` types to `std140` types.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# cgmath-std140

Conversions [cgmath](https://crates.io/crates/cgmath) types to [std140](https://crates.io/crates/std140) types.

## Example

```rust
use cgmath_std140::AsStd140;
use cgmath::Vector4;

let vector: Vector4 = Vector4::new(1.0, 2.0, 3.0, 4.0);
let converted: std140::vec4 = matrix.as_std140();
```

## Licence

MIT