Box3D
Safe HaskellNone
LanguageGHC2021

Box3D.GridMesh

Synopsis

Documentation

create Source #

Arguments

:: Int

xCount: the number of rows in the x direction

-> Int

zCount: the number of rows in the z direction

-> Float

cellWidth: the width of each cell

-> Int

materialCount: the number of materials to generate

-> Bool

identifyEdges: compute adjacency information

-> IO (Ptr MeshData) 

Create a grid mesh along the x and z axes.

Binds b3CreateGridMesh.