Garry's Mod Wiki

Vector:Negate

Vector:Negate

  Vector:Negate()

Just Added

This was just added in the latest version (2021.12.15). It might only be available on the Dev Branch right now.

Description

Negates this vector, i.e. sets every component to the negative value of itself. Same as Vector( -vec.x, -vec.y, -vec.z )

Special Pages


Wikis

?

Render Time: 59ms

DB GetPage 43
Generate Html 1
SaveChanges (1) 6
Render Body 0
Render Sidebar 7