PhysicsBasedAnimationToolkit 0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
|
This file defines binary nodes for a SDF compositions. More...
#include "pbat/HostDevice.h"
#include "pbat/common/Concepts.h"
#include <algorithm>
#include <cmath>
Go to the source code of this file.
Classes | |
struct | pbat::geometry::sdf::BinaryNode |
Base struct for all binary nodes. More... | |
struct | pbat::geometry::sdf::Union< TScalar > |
Union operation. More... | |
struct | pbat::geometry::sdf::Difference< TScalar > |
Difference operation. More... | |
struct | pbat::geometry::sdf::Intersection< TScalar > |
Intersection operation. More... | |
struct | pbat::geometry::sdf::ExclusiveOr< TScalar > |
Exclusive or operation. More... | |
struct | pbat::geometry::sdf::SmoothUnion< TScalar > |
Smooth union operation. More... | |
struct | pbat::geometry::sdf::SmoothDifference< TScalar > |
Smooth difference operation. More... | |
struct | pbat::geometry::sdf::SmoothIntersection< TScalar > |
Smooth intersection operation. More... | |
Namespaces | |
namespace | pbat |
The main namespace of the library. | |
namespace | pbat::geometry |
Geometric queries, quantities and data structures. | |
namespace | pbat::geometry::sdf |
Namespace for signed distance functions (SDFs) and related operations. | |
This file defines binary nodes for a SDF compositions.
Credits go to https://iquilezles.org/articles/distfunctions/, thank you Inigo Quilez!