Voxelent Util methods
Parameters:
| Type | Name | Description |
|---|---|---|
| Array|vec3|Number |
x
|
it can be an Array, a vec3 or a number |
| Number |
y
|
if x is a number, this parameter corresponds to the y-component |
| Number |
z
|
if x is a number, this parameter corresponds to the z-component |
Parameters:
| Type | Name | Description |
|---|---|---|
| Array|vec3|Number |
x
|
it can be an Array, a vec3 or a number |
| Number |
y
|
if x is a number, this parameter corresponds to the y-component |
| Number |
z
|
if x is a number, this parameter corresponds to the z-component |
Parameters:
| Type | Name | Description |
|---|---|---|
length
|
|
|
resolution
|
|
|
oninstance
|
|
|
oncomplete
|
|
Parameters:
| Type | Name | Description |
|---|---|---|
| Array|vec3|vec4 |
arr
|
the object to format |
| Number |
digits
|
the number of decimal figures |
Parameters:
| Type | Name | Description |
|---|---|---|
angle
|
|
Parameters:
| Type | Name | Description |
|---|---|---|
i
|
|
Parameters:
| Type | Name | Description |
|---|---|---|
rgb
|
|