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

Vector arithmetic enhancement #6784

Closed
1 task done
MissingReports opened this issue Jun 13, 2024 · 4 comments
Closed
1 task done

Vector arithmetic enhancement #6784

MissingReports opened this issue Jun 13, 2024 · 4 comments

Comments

@MissingReports
Copy link

Suggestion

You can use arithmetic on vectors using another vectors, but it would be nice if you could do {_vector} * 10 instead of {_vector} * vector(10, 10, 10), this applies to all arithmetic related to vectors

Why?

Easier to write and to understand what you're trying to do and saves some line space (abit less reload time)

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this suggestion.
@Fusezion
Copy link
Contributor

image
but you can?

@MissingReports
Copy link
Author

i swear you couldn't? i tried that before

@bluelhf
Copy link
Contributor

bluelhf commented Jun 13, 2024

yes, it's a recent addition :)

@Fusezion
Copy link
Contributor

You've been able to do this since 2.8 when they deprecated ** in favor of a proper api

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

No branches or pull requests

4 participants