Explorar o código

minor vec4 fix

Nicolas Cannasse hai 2 meses
pai
achega
4c709e9a17
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      hrt/shgraph/nodes/Color.hx

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

@@ -32,7 +32,7 @@ class Color extends ShaderConst {
 		var picker = new hide.comp.ColorPicker.ColorBox(element, true, true);
 
 
-		var start = h3d.Vector.fromArray([r, g, b, a]);
+		var start = h3d.Vector4.fromArray([r, g, b, a]);
 		picker.value = start.toColor();
 
 		picker.onChange = function(move) {