Jed %!s(int64=4) %!d(string=hai) anos
pai
achega
80665653c5
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      hrt/shgraph/nodes/SmoothStep.hx

+ 2 - 2
hrt/shgraph/nodes/SmoothStep.hx

@@ -2,14 +2,14 @@ package hrt.shgraph.nodes;
 
 
 using hxsl.Ast;
 using hxsl.Ast;
 
 
-@name("SmoothStep")
+@name("Smooth Step")
 @description("Linear interpolation between a and b using mix")
 @description("Linear interpolation between a and b using mix")
 @width(80)
 @width(80)
 @group("Math")
 @group("Math")
 class SmoothStep extends ShaderFunction {
 class SmoothStep extends ShaderFunction {
 
 
 	@input("A") var x = SType.Number;
 	@input("A") var x = SType.Number;
-	@input("A") var y = SType.Number;
+	@input("B") var y = SType.Number;
 	@input("Mix") var a = SType.Number;
 	@input("Mix") var a = SType.Number;
 
 
 	public function new() {
 	public function new() {