Methods
(static) normxy(buf, to, frm) → {THREE.Vector3}
Get a norm vector form frm to to, using buf as buffer.
Parameters:
Name | Type | Description |
---|---|---|
buf |
THREE.Vector3 | buffer can not be null. |
to |
number | |
frm |
number |
- Source:
Returns:
buf
- Type
- THREE.Vector3
(static) radian()
Convert degree to radian
- Source:
(static) round_to_precision(x, precision,) → {number}
Parameters:
Name | Type | Description |
---|---|---|
x |
number | |
precision, |
number | default 1 |
- Deprecated:
- not used?
exampels: round_to_precision(11, 8); // outputs 8 round_to_precision(3.7, 0.5); // outputs 3.5
- not used?
- Source:
Returns:
round up
- Type
- number