MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ invert() [2/2]

VectorField MayaFlux::Kinesis::invert ( const VectorField t)
inline

Negate all components of a vector field.

Parameters
tSource tendency
Returns
Negated tendency

Definition at line 168 of file Tendency.hpp.

169{
170 return { .fn = [t](const glm::vec3& d) -> glm::vec3 {
171 return -t(d);
172 } };
173}

References MayaFlux::Kinesis::Tendency< D, R >::fn.