Neverlose
  • List of all methods
  • Methods
    • CGlobalVarsBase
    • CUserCmd
    • C_BaseEntity
    • C_BasePlayer
    • Cheat
    • CheatVar
    • CheatVars
    • Color
    • ConVar
    • Config
    • Globals
    • ICvar
    • IEngineClient
    • IEntityList
    • IGameEvent
    • IMaterial
    • IMaterialSystem
    • INetChannelInfo
    • IRender
    • Panorama
    • QAngle
    • Utils
    • Vector
    • Vector2
    • trace_t
Powered by GitBook
On this page
  • Vector.new():
  • Vector.new(float x, float y, float z):
  • float x
  • float y
  • float z
  • float Length()
  1. Methods

Vector

Vector used to describe point on world. Has three float's(x, y and z axis)

Vector.new():

		Creates new Vector object (+inf, +inf, +inf)

Vector.new(float x, float y, float z):

		Creates new Vector object (x, y, z)

float x

		x value of object

float y

		y value of object

float z

		z value of object

float Length()

		Returns Length ( sqrt(x*x + y*y + z*z) )
PreviousUtilsNextVector2

Last updated 5 years ago