preview:api:vec2i
This is an old revision of the document!
Table of Contents
vec2i
Category: Data structure
Functions
add
void vec2i.add(this, x, y)
Name | Type | Description |
---|---|---|
this | vec2i | |
x | integer | |
y | integer |
dot
getLength2
integer vec2i.getLength2(this)
Name | Type | Description |
---|---|---|
this | vec2i |
normalize
void vec2i.normalize(this)
Name | Type | Description |
---|---|---|
this | vec2i |
distance2
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