Skip to content

ludus::foundation::geometry::SurfacePatchSource

Ludus Wiki · API overview · Browse API

Struct

One source patch in float64 asset coordinates.

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

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

Fields

Id

uint64 ludus::foundation::geometry::SurfacePatchSource::Id = 0
Stable author ID; unique within the surface. Edge and corner IDs derive from it.

Related types: uint64

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

Control

core::StaticArray<core::StaticArray<math::Vector3d, PATCH_CONTROL_ORDER>, PATCH_CONTROL_ORDER> ludus::foundation::geometry::SurfacePatchSource::Control {}
Control[u index][v index], asset coordinates.

Related types: PATCH_CONTROL_ORDER · core::StaticArray · math::Vector3d

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