Skip to content

Commit

Permalink
fix: register math/fract
Browse files Browse the repository at this point in the history
  • Loading branch information
hybridherbst committed Jan 9, 2025
1 parent dc94038 commit 4b8937d
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 @@ -95,6 +95,7 @@ import {RightShift} from "./nodes/math/bitwise/RightShift";
import {CountLeadingZeros} from "./nodes/math/bitwise/CountLeadingZeros";
import {CountOneBits} from "./nodes/math/bitwise/CountOneBits";
import {CountTrailingZeros} from "./nodes/math/bitwise/CountTrailingZeros";
import { Fraction } from "./nodes/math/arithmetic/Fraction";

export interface ICustomEventListener {
type: string,
Expand Down Expand Up @@ -356,6 +357,7 @@ export class BasicBehaveEngine implements IBehaveEngine {
this.registerBehaveEngineNode("math/sign", Sign);
this.registerBehaveEngineNode("math/trunc", Truncate);
this.registerBehaveEngineNode("math/floor", Floor);
this.registerBehaveEngineNode("math/fract", Fraction);
this.registerBehaveEngineNode("math/ceil", Ceil);
this.registerBehaveEngineNode("math/neg", Negate);
this.registerBehaveEngineNode("math/add", Add);
Expand Down

0 comments on commit 4b8937d

Please sign in to comment.