Skip to main content

ling_graphics/
lib.rs

1//! ling-graphics — 3D/4D rendering, geometry, animation, and font tools.
2
3pub mod math;
4pub mod color;
5pub mod geometry;
6pub mod material;
7pub mod camera;
8pub mod scene;
9pub mod animation;
10pub mod font;
11pub mod renderer;
12pub mod viewport;
13pub mod window;
14
15
16pub use math::{Vec2, Vec3, Vec4, Mat3, Mat4, Quat, Vec4H, Mat5, Aabb, Ray3, Plane, Frustum};
17pub use color::{Color, BlendMode, ColorGradient};
18pub use geometry::{Vertex, Mesh, MeshBuilder};
19pub use material::{Material, TextureData, AlphaMode};
20pub use camera::{Camera3D, Camera4D, Projection, HyperModel};
21pub use scene::{Transform, SceneNode, Scene, NodeId};
22pub use animation::{Timeline, Track, Keyframe, EaseFunction, Lerp};
23pub use font::{FontAtlas, GlyphInfo};
24pub use renderer::{Renderer, FrameBuffer, SoftwareRenderer};
25
26pub const VERSION: &str = env!("CARGO_PKG_VERSION");