Spectacular Cellular Automata
Website
Source Repository
Jira
Documents
Preparing search index...
lib/mesh
calculateMesh
Function calculateMesh
calculateMesh
(
width
:
number
,
height
:
number
,
meshWidthScale
:
number
,
meshHeightScale
:
number
,
shape
:
string
,
)
:
[
vec3
[]
,
vec3
[]
,
number
[]
]
Return a list of vertices in the mesh, and per-triangle lists of origins and indices.
Parameters
width
:
number
height
:
number
meshWidthScale
:
number
meshHeightScale
:
number
shape
:
string
Returns
[
vec3
[]
,
vec3
[]
,
number
[]
]
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Website
Source Repository
Jira
Documents
Spectacular Cellular Automata
Loading...
Return a list of vertices in the mesh, and per-triangle lists of origins and indices.