Commit 3fea2492 authored by Jan Möbius's avatar Jan Möbius

Added compose Vector4 VSI block

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16496 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 3e4aaeb4
......@@ -339,4 +339,37 @@
</code>
</element>
<element name="compose_vector4">
<category>Math</category>
<short>Compose Vector4</short>
<long>Compose Vector4 of scalars</long>
<outputs>
<output name="out_vec" type="Vector4">
<short>Vector4</short>
<long>Vector4 composed of the input scalars</long>
</output>
</outputs>
<inputs>
<input name="x" type="Number">
<short>x</short>
<precision>0.000001</precision>
</input>
<input name="y" type="Number">
<short>y</short>
<precision>0.000001</precision>
</input>
<input name="z" type="Number">
<short>z</short>
<precision>0.000001</precision>
</input>
<input name="w" type="Number">
<short>w</short>
<precision>0.000001</precision>
</input>
</inputs>
<code>
[output="out_vec"] = Vector4([input="x"],[input="y"],[input="z"],[input="w"]);
</code>
</element>
</OpenFlipper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment