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