4 releases
0.2.2 | May 31, 2021 |
---|---|
0.2.1 | Jan 27, 2020 |
0.2.0 | Jan 4, 2020 |
0.1.0 | Jan 4, 2020 |
#4 in #std140
6KB
131 lines
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
Dependencies
~2MB
~45K SLoC