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
  • Vector2.new(float x, float y):
  • float x
  • float y
  • float Length()
  1. Methods

Vector2

Vector2 used to describe point on screen. Has two float's(x and y axis)

Vector2.new(float x, float y):

		Creates new Vector2 object (x, y)

float x

		x value of object

float y

		y value of object

float Length()

		Returns Length ( sqrt(x*x + y*y) )
PreviousVectorNexttrace_t

Last updated 5 years ago