nexcore_softrender/
lib.rs1#![forbid(unsafe_code)]
16#![warn(missing_docs)]
17#![cfg_attr(
18 not(test),
19 deny(clippy::unwrap_used, clippy::expect_used, clippy::panic)
20)]
21#![allow(
22 clippy::as_conversions,
23 clippy::arithmetic_side_effects,
24 clippy::indexing_slicing,
25 reason = "Software rendering requires frequent pixel/math conversions and low-level indexing for performance"
26)]
27#![allow(
28 clippy::too_many_arguments,
29 clippy::many_single_char_names,
30 reason = "Rendering pipelines and math functions often have many parameters (x, y, z, w, r, g, b, a)"
31)]
32
33pub mod geometry;
34pub mod math;
35pub mod pipeline;
36
37pub use geometry::{Mesh, Triangle, Vertex};
39pub use math::{Color, Mat3, Mat4, Vec2, Vec3, Vec4};
40pub use pipeline::{Framebuffer, Viewport};