Browse Source

Clean desc and output type

Jed 4 years ago
parent
commit
438f5ba3d7
3 changed files with 4 additions and 4 deletions
  1. 1 1
      hrt/shgraph/nodes/Combine.hx
  2. 1 1
      hrt/shgraph/nodes/Mix.hx
  3. 2 2
      hrt/shgraph/nodes/SmoothStep.hx

+ 1 - 1
hrt/shgraph/nodes/Combine.hx

@@ -15,7 +15,7 @@ class Combine extends ShaderNode {
 	@input("B", false, false) var b = SType.Float;
 	@input("A", false, false) var a = SType.Float;
 
-	@output() var output = SType.Variant;
+	@output() var output = SType.Number;
 
 	var components = [X, Y, Z, W];
 	var componentsString = ["r", "g", "b", "a"];

+ 1 - 1
hrt/shgraph/nodes/Mix.hx

@@ -3,7 +3,7 @@ package hrt.shgraph.nodes;
 using hxsl.Ast;
 
 @name("Mix")
-@description("Linear interpolation between a and b using mix")
+@description("Linear interpolation between A and B using Mix")
 @width(80)
 @group("Math")
 class Mix extends ShaderFunction {

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

@@ -3,8 +3,8 @@ package hrt.shgraph.nodes;
 using hxsl.Ast;
 
 @name("Smooth Step")
-@description("Linear interpolation between a and b using mix")
-@width(80)
+@description("Linear interpolation between A and B using Mix")
+@width(100)
 @group("Math")
 class SmoothStep extends ShaderFunction {