FTEQCC has a clever vector initializer feature which is used by projects like Brood Hunter. Essentially it takes on the form [expr1, expr2, expr3] which constructs a vector with the values of expr1, expr2 and expr3 mapped to xyz respectfully. It should also be noted that y and z are optional in the expression. It just pads it off with zeros. So [a, b] will be a vector with z=0. Or [a] will be a vector with y=0 and z=0
FTEQCC has a clever vector initializer feature which is used by projects like Brood Hunter. Essentially it takes on the form
[expr1, expr2, expr3]
which constructs a vector with the values ofexpr1
,expr2
andexpr3
mapped toxyz
respectfully. It should also be noted thaty
andz
are optional in the expression. It just pads it off with zeros. So[a, b]
will be a vector withz=0
. Or[a]
will be a vector withy=0
andz=0