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