User Tools

Site Tools


preview:api:vec2i

This is an old revision of the document!


vec2i

Category: Data structure

Functions


add

void vec2i.add(this, x, y)

Name Type Description
this vec2i
x integer
y integer

dot

integer vec2i.dot(this, v)

Name Type Description
this vec2i
v vec2i

getLength2

integer vec2i.getLength2(this)

Name Type Description
this vec2i

normalize

void vec2i.normalize(this)

Name Type Description
this vec2i

distance2

integer vec2i.distance2(this, v)

Name Type Description
this vec2i
v vec2i

isZero

boolean vec2i.isZero(this)

Name Type Description
this vec2i

isNearZero

boolean vec2i.isNearZero(this)

Name Type Description
this vec2i

rotate

void vec2i.rotate(this, angle)

Name Type Description
this vec2i
angle integer
preview/api/vec2i.1590164022.txt.gz · Last modified: 2020/05/22 12:13 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki