Crates.io | ruby-math |
lib.rs | ruby-math |
version | 0.2.2 |
source | src |
created_at | 2021-10-07 08:56:18.580304 |
updated_at | 2021-10-18 17:50:27.455374 |
description | A simple 3D math library for games and graphics |
homepage | |
repository | https://github.com/Trees-D/rmath |
max_upload_size | |
id | 461643 |
size | 367,309 |
A math library implemented by Rust.
f32
Type
Vec2f
, Vec3f
, Vec4f
Mat2f
, Mat3f
, Mat4f
f64
Type
Vec2d
, Vec3d
, Vec4d
Mat2d
, Mat3d
, Mat4d
Transform
Transformable
f32
Type
RGBf
, RGBAf
f64
Type
RGB
, RGBA
u8
Type
RGB24
, RGB32
Bounds3
Ray
Pcg32
concentric_sample_disk
uniform_sample_disk
uniform_sample_sphere
uniform_sample_hemisphere