PhysicsBasedAnimationToolkit 0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
|
#include <BinaryNode.h>
Public Types | |
using | ScalarType = TScalar |
Scalar type. | |
Public Member Functions | |
PBAT_HOST_DEVICE ScalarType | Eval (ScalarType sd1, ScalarType sd2) const |
Evaluate the signed distance function of the union of two shapes. | |
Union operation.
TScalar | Scalar type |
|
inline |
Evaluate the signed distance function of the union of two shapes.
sd1 | Signed distance to the first shape |
sd2 | Signed distance to the second shape |