preview:api:vec3d
This is an old revision of the document!
Table of Contents
vec3d
Category: Data structure
Functions
add
void vec3d.add(this, x, y, z)
Name | Type | Description |
---|---|---|
this | vec3d | |
x | double | |
y | double | |
z | double |
almostEquals
boolean vec3d.almostEquals(this, vector, epsilon)
Name | Type | Description |
---|---|---|
this | vec3d | |
vector | Vector3 | |
epsilon | double |
dot
double vec3d.dot(this, v)
Name | Type | Description |
---|---|---|
this | vec3d | |
v | Vector3 |
cross
Vector3 vec3d.cross(this, vec)
Name | Type | Description |
---|---|---|
this | vec3d | |
vec | Vector3 |
getLength2
double vec3d.getLength2(this)
Name | Type | Description |
---|---|---|
this | vec3d |
normalize
void vec3d.normalize(this)
Name | Type | Description |
---|---|---|
this | vec3d |
distance2
double vec3d.distance2(this, v)
Name | Type | Description |
---|---|---|
this | vec3d | |
v | Vector3 |
getXY
getXZ
getYZ
vec2d vec3d.getYZ(this)
Name | Type | Description |
---|---|---|
this | vec3d |
preview/api/vec3d.1590164022.txt.gz · Last modified: 2020/05/22 12:13 by 127.0.0.1