diff --git a/ProjectObsidian/ProtoFlux/Math/Random/RandomFloatQ.cs b/ProjectObsidian/ProtoFlux/Math/Random/RandomFloatQ.cs index 8dfe0b2..a70e03c 100644 --- a/ProjectObsidian/ProtoFlux/Math/Random/RandomFloatQ.cs +++ b/ProjectObsidian/ProtoFlux/Math/Random/RandomFloatQ.cs @@ -3,10 +3,8 @@ using ProtoFlux.Runtimes.Execution; using Obsidian; - namespace ProtoFlux.Runtimes.Execution.Nodes.Obsidian.Math.Random { - [NodeCategory("Obsidian/Math/Random")] [ContinuouslyChanging] public class RandomFloatQ : ValueFunctionNode @@ -19,7 +17,10 @@ protected override floatQ Compute(ExecutionContext context) floatQ min = Min.Evaluate(context); floatQ max = Max.Evaluate(context); - return RandomXExtensions.Range(min, max); + floatQ randomQuat = RandomXExtensions.Range(min, max); + randomQuat = randomQuat.Normalized; + + return randomQuat; } } } \ No newline at end of file