Expand description
Auto-generated module
🤖 Generated with SplitRS
Structs§
- Contact
Point - A single contact point between two bodies.
- IsoMesh
Result - Isosurface mesh extracted from a grid.
- RayMarch
Result - Result of a ray-march query.
- SdfBend
- Apply a bend deformation around the Y axis to an SDF.
- SdfBounded
Proxy - Physics collision proxy that first checks a bounding sphere, then the detailed SDF.
- SdfBox
- SDF for an axis-aligned box centred at the origin.
- SdfCollision
Result - Result of an SDF collision query.
- SdfCone
- SDF for a finite cone with apex at origin pointing along +Y.
- SdfDifference
- SDF difference:
AminusB. - SdfEllipsoid
- SDF approximation for an axis-aligned ellipsoid with semi-axes
radii. - SdfExtrude
- Extrude a 2-D XZ-plane profile along the Y axis.
- SdfGrid
- A dense 3-D grid of SDF samples.
- SdfGyroid
- SDF approximation for the Schoen gyroid minimal surface.
- SdfHexagonal
Prism - SDF for a hexagonal prism aligned with the Y axis.
- SdfIntersection
- SDF intersection of two shapes.
- SdfLine
Segment - SDF for a line-segment tube: a capsule with flat ends (cylinder).
- SdfNoise
Displace - Displace an SDF surface with procedural value noise.
- SdfOffset
- Expand or contract a shape by a constant offset.
- SdfPlane
- SDF for an infinite plane defined by
n·p = dwherenis the unit normal. - SdfPyramid
- SDF for a square-base pyramid with apex at
(0, height, 0). - SdfRepeat
- Infinite repetition of an SDF along all three axes.
- SdfRevolution
- Revolve a 2-D profile curve (given as a function of r and y) around the Y axis.
- SdfRounded
Cylinder - SDF for a rounded cylinder aligned with the Y axis.
- SdfScale
- Scale an SDF uniformly (preserves exact signed distance).
- SdfShell
- Hollow (shell) version of an SDF: the region between two offset surfaces.
- SdfSmooth
Difference - Smooth difference (subtract
BfromA) with polynomial blend. - SdfSmooth
Intersection - Smooth intersection using polynomial blend.
- SdfSmooth
Union - Smooth union using the polynomial C¹ blend of Quilez.
- SdfSphere
- SDF for a sphere of given
radiuscentred at the origin. - SdfTorus
- SDF for a torus in the XZ plane centred at the origin.
- SdfTranslate
- Translate an SDF by a constant offset.
- SdfTriangular
Prism - SDF for a triangular prism (equilateral cross-section) aligned with Y axis.
- SdfTwist
- Apply torsion (twist around Y axis) to an SDF.
- SdfUnion
- SDF union of two shapes.
- Triangle
- A triangle in 3-D space (three vertices).