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