threejs-worldgen
Website
Demos
GitHub
Preparing search index...
threejs-scatter
octDecode
Function octDecode
octDecode
(
u
:
number
,
v
:
number
,
hemisphere
:
boolean
)
:
Vec3Tuple
Inverse of
octEncode
: octahedral coordinates in [0, 1]² back to a unit direction.
Parameters
u
:
number
v
:
number
hemisphere
:
boolean
Returns
Vec3Tuple
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Website
Demos
GitHub
threejs-worldgen
Loading...
Inverse of octEncode: octahedral coordinates in [0, 1]² back to a unit direction.