Skip to content

Conversation

@CookStar
Copy link
Contributor

@ghost
Copy link

ghost commented Feb 24, 2020

Can add support for the unary negative operator?

v = Vector(5.0, 5.0, 5.0)
v + -v = Vector(0.0, 0.0, 0.0)

https://sm.alliedmods.net/new-api/vector/NegateVector

@CookStar
Copy link
Contributor Author

Added unary negative operation to Vector. 49ad3d8

@Ayuto
Copy link
Member

Ayuto commented Feb 25, 2020

Thank you!

@Ayuto Ayuto merged commit 39a11be into Source-Python-Dev-Team:master Feb 25, 2020
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

Successfully merging this pull request may close these issues.

2 participants