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