Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTEQCC vector initializers #147

Open
graphitemaster opened this issue May 25, 2014 · 1 comment
Open

FTEQCC vector initializers #147

graphitemaster opened this issue May 25, 2014 · 1 comment

Comments

@graphitemaster
Copy link
Owner

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

@Blub
Copy link
Collaborator

Blub commented May 28, 2014

I think this might even be used in hexen2. Not sure though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants