fix docsgen error

This commit is contained in:
Alex Matulich
2025-02-22 15:42:04 -08:00
parent 2f39446f2a
commit 4f14bf369f

View File

@@ -831,7 +831,7 @@ function _isosurface_triangles(cubelist, voxsize, isovalmin, isovalmax, tritable
/*
/// Generate triangles for the special case of voxel faces clipped by the bounding box
// (more efficient than _bbfacevertices below but doesn't work with isovalue ranges)
/// (more efficient than _bbfacevertices below but doesn't work with isovalue ranges)
function _clipfacevertices(vcube, f, bbface, isovalmax, isovalmin) =
let(
vi = _MCFaceVertexIndices[bbface], // four voxel face vertex indices
@@ -2149,7 +2149,7 @@ function isosurface(f, isovalue, voxel_size, bounding_box, reverse=false, closed
dum2 = show_stats ? _showstats_isosurface(voxsize, bbox, isovalue, cubes, trianglepoints, faces) : 0
) [trianglepoints, faces];
// internal function: get "auto" voxel size given a desired number of voxels in a bounding box
/// internal function: get "auto" voxel size given a desired number of voxels in a bounding box
function _getautovoxsize(bbox, numvoxels) =
let(
bbsiz = bbox[1]-bbox[0],
@@ -2157,7 +2157,7 @@ function _getautovoxsize(bbox, numvoxels) =
voxvol = bbvol/numvoxels
) voxvol^(1/3);
// internal function: get voxel size, adjusted if necessary to fit bounding box
/// internal function: get voxel size, adjusted if necessary to fit bounding box
function _getvoxsize(voxel_size, bounding_box, fixed_bounds) =
let(voxsize0 = is_num(voxel_size) ? [voxel_size, voxel_size, voxel_size] : voxel_size)
fixed_bounds ?