mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-28 00:59:29 +01:00
Resolve Micro Height against the requested draw and current atlas layout. Invalidate whole-map fields after geometry edits, reuse admitted fields across tiles, and stop rust runoff at gaps between UV islands. Render configured preview inputs, cancel evicted image requests, and clear stale previews and point picks when the project changes. Reduce temporary curvature fields and repeated occlusion sampling work. Preserve generator IDs and saved values while updating picker wording. Consolidate generator regression tests and credit the Nightly icon set inherited from main.
10 lines
253 B
Rust
10 lines
253 B
Rust
use texturecraft_geom::glam::Vec3;
|
|
|
|
/// A covered texel with its UV, world position and normal
|
|
pub(super) struct SurfacePoint {
|
|
pub(super) texel: (u32, u32),
|
|
pub(super) uv: [f32; 2],
|
|
pub(super) position: Vec3,
|
|
pub(super) normal: Vec3,
|
|
}
|