PhysicsBasedAnimationToolkit 0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
|
Exclusive or operation. More...
#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 exclusive or of two shapes. | |
Exclusive or operation.
TScalar | Scalar type |
|
inline |
Evaluate the signed distance function of the exclusive or of two shapes.
sd1 | Signed distance to the first shape |
sd2 | Signed distance to the second shape |