cgmath-std140

Crates.iocgmath-std140
lib.rscgmath-std140
version0.2.2
sourcesrc
created_at2020-01-04 16:59:49.981268
updated_at2021-05-31 14:09:42.178733
descriptionBridge crate that provides conversion from `cgmath` types to `std140` types.
homepagehttps://github.com/RSSchermer/cgmath-std140.rs
repositoryhttps://github.com/RSSchermer/cgmath-std140.rs
max_upload_size
id195174
size6,698
Roland (RSSchermer)

documentation

README

cgmath-std140

Conversions cgmath types to std140 types.

Example

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

Commit count: 6

cargo fmt