Skip to content

ludus::foundation::geometry::PreparedPatch

Ludus Wiki · API overview · Browse API

Struct

One prepared patch with its topology references.

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

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

Fields

Id

uint64 ludus::foundation::geometry::PreparedPatch::Id = 0
Stable author ID.

Related types: uint64

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

Control

math::BicubicBezierPatch ludus::foundation::geometry::PreparedPatch::Control {}
Chunk-relative float32 controls, Control[u][v].

Related types: math::BicubicBezierPatch

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

Edge

core::StaticArray<usize, PATCH_SIDE_COUNT> ludus::foundation::geometry::PreparedPatch::Edge {}
Edge index for each PatchSide.

Related types: usize · PATCH_SIDE_COUNT · core::StaticArray

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

Corner

core::StaticArray<usize, PATCH_CORNER_COUNT> ludus::foundation::geometry::PreparedPatch::Corner {}
Corner record index for each PatchCorner.

Related types: usize · PATCH_CORNER_COUNT · core::StaticArray

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