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