Skip to content

ludus::foundation::geometry::SurfaceSource

Ludus Wiki · API overview · Browse API

Struct

Whole source surface for TryPrepareSurface.

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/surface.hpp

#include <ludus/foundation/geometry/surface.hpp>
struct ludus::foundation::geometry::SurfaceSource final

Fields

Origin

math::Vector3d ludus::foundation::geometry::SurfaceSource::Origin {}
Float64 chunk origin subtracted before narrowing.

Related types: math::Vector3d

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/surface.hpp

Patches

BorrowedView<const SurfacePatchSource> ludus::foundation::geometry::SurfaceSource::Patches
At least one patch, borrowed for the call only.

Related types: BorrowedView · SurfacePatchSource

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/surface.hpp

Adjacency

BorrowedView<const SurfaceAdjacencySource> ludus::foundation::geometry::SurfaceSource::Adjacency
Shared edges; unlisted sides are boundary edges.

Related types: BorrowedView · SurfaceAdjacencySource

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/surface.hpp

AssetScale

float64 ludus::foundation::geometry::SurfaceSource::AssetScale = 0.0
Declared asset scale for RelativePositionError; finite and >= 0.

Related types: float64

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/surface.hpp

Revision

uint64 ludus::foundation::geometry::SurfaceSource::Revision = 0
Owner-assigned snapshot revision copied into meshes built from this surface.

Related types: uint64

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/surface.hpp