wire/data/expression2/_helloworld_.txt
AbigailBuccaneer 9ae1f5504f Fix all whitespace errors
Now nobody's commit should be flagged by Travis unless it actually
introduces whitespace errors (which we do want to check for).

This doesn't fully sort out indentation everywhere, but does fix all
whitespace that Git doesn't like. You can check the whitespace across
the entire codebase with:

    git diff-tree --check "$(git hash-object -t tree /dev/null)" HEAD
2018-02-02 00:02:28 +00:00

25 lines
375 B
Plaintext

@name Hello World
@inputs A B
@outputs Add Sub Mul Div
@outputs GreaterThan Highest Lowest
@outputs Vector:vector
@persist D
@trigger all
Add = A + B
Sub = A - B
Mul = A * B
Div = A / B
GreaterThan = A > B
if(A > B) {
Highest = A, Lowest = B
} else {
Highest = B, Lowest = A
}
Vector = vec(A, B, 0)
Vector = Vector + vec(0, 0, A + B)
Vector = Vector:normalized()