A math library implemented by Rust.
f32
TypeVec2f
,Vec3f
,Vec4f
Mat2f
,Mat3f
,Mat4f
f64
TypeVec2d
,Vec3d
,Vec4d
Mat2d
,Mat3d
,Mat4d
- transform
Transform
- trait
Transformable
f32
TypeRGBf
,RGBAf
f64
TypeRGB
,RGBA
u8
TypeRGB24
,RGB32
- bounds
Bounds3
- ray
Ray
- rng
Pcg32
- method
concentric_sample_disk
uniform_sample_disk
uniform_sample_sphere
uniform_sample_hemisphere