Skip to content

ludus::foundation::geometry::SurfaceMeshPosition

Ludus Wiki · API overview · Browse API

Struct

One unique geometric position, emitted once and shared by every render vertex at that point.

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

#include <ludus/foundation/geometry/tessellation.hpp>
struct ludus::foundation::geometry::SurfaceMeshPosition final

Fields

Position

math::Vector3 ludus::foundation::geometry::SurfaceMeshPosition::Position {}
Chunk-relative float32 position.

Related types: math::Vector3

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

Kind

SurfaceSampleKind ludus::foundation::geometry::SurfaceMeshPosition::Kind = SurfaceSampleKind::Corner
Topological owner kind.

Related types: SurfaceSampleKind

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

OwnerIndex

usize ludus::foundation::geometry::SurfaceMeshPosition::OwnerIndex = 0
Corner, edge or patch index of that owner.

Related types: usize

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

EdgeParameter

float64 ludus::foundation::geometry::SurfaceMeshPosition::EdgeParameter = 0.0
Canonical t for an Edge sample; otherwise 0.

Related types: float64

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

ErrorBound

float64 ludus::foundation::geometry::SurfaceMeshPosition::ErrorBound = 0.0
Certified upper bound of |Position - exact surface point|; 0 for a corner.

Related types: float64

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