preview:api:vec2i
This is an old revision of the document!
Table of Contents
vec2i
Category: Data structure
Functions
add
void vec2i.add(object, x, y)
Name | Type | Description |
---|---|---|
object | vec2i | |
x | integer | |
y | integer |
dot
getLength2
integer vec2i.getLength2(object)
Name | Type | Description |
---|---|---|
object | vec2i |
normalize
void vec2i.normalize(object)
Name | Type | Description |
---|---|---|
object | vec2i |
distance2
isZero
boolean vec2i.isZero(object)
Name | Type | Description |
---|---|---|
object | vec2i |
isNearZero
boolean vec2i.isNearZero(object)
Name | Type | Description |
---|---|---|
object | vec2i |
rotate
void vec2i.rotate(object, angle)
Name | Type | Description |
---|---|---|
object | vec2i | |
angle | integer |
preview/api/vec2i.1590165917.txt.gz · Last modified: 2020/05/22 12:45 by maxime