9 releases
0.2.2 | Oct 18, 2021 |
---|---|
0.2.1 | Oct 14, 2021 |
0.1.7 | Oct 9, 2021 |
#415 in Graphics APIs
24 downloads per month
335KB
11K
SLoC
rmath
A math library implemented by Rust.
algebra
f32
TypeVec2f
,Vec3f
,Vec4f
Mat2f
,Mat3f
,Mat4f
f64
TypeVec2d
,Vec3d
,Vec4d
Mat2d
,Mat3d
,Mat4d
- transform
Transform
- trait
Transformable
color
f32
TypeRGBf
,RGBAf
f64
TypeRGB
,RGBA
u8
TypeRGB24
,RGB32
geometry
- bounds
Bounds3
- ray
Ray
sampling
- rng
Pcg32
- method
concentric_sample_disk
uniform_sample_disk
uniform_sample_sphere
uniform_sample_hemisphere