Skip to content

Commit

Permalink
add math/clamp node
Browse files Browse the repository at this point in the history
  • Loading branch information
hybridherbst committed Nov 22, 2024
1 parent 14ed0c6 commit 429287d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/BasicBehaveEngine/BasicBehaveEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import {Divide} from "./nodes/math/arithmetic/Divide";
import {Remainder} from "./nodes/math/arithmetic/Remainder";
import {Min} from "./nodes/math/arithmetic/Min";
import {Max} from "./nodes/math/arithmetic/Max";
import {Clamp} from "./nodes/math/arithmetic/Clamp";
import {DegreeToRadians} from "./nodes/math/trigonometry/DegreeToRadians";
import {RadiansToDegrees} from "./nodes/math/trigonometry/RadiansToDegrees";
import {Sine} from "./nodes/math/trigonometry/Sine";
Expand Down Expand Up @@ -339,6 +340,7 @@ export class BasicBehaveEngine implements IBehaveEngine {
this.registerBehaveEngineNode("math/rem", Remainder);
this.registerBehaveEngineNode("math/min", Min);
this.registerBehaveEngineNode("math/max", Max);
this.registerBehaveEngineNode("math/clamp", Clamp);
this.registerBehaveEngineNode("math/rad", DegreeToRadians);
this.registerBehaveEngineNode("math/deg", RadiansToDegrees);
this.registerBehaveEngineNode("math/sin", Sine);
Expand Down

0 comments on commit 429287d

Please sign in to comment.