Skip to content
This is the alpha v4 version website. Looking for the v3 documentation?

generateFindEdgeDistance

generateFindEdgeDistance(shapeCall, rotateWithCamera): string

Defined in: packages/sigma/src/rendering/glsl.ts:115

Generates findEdgeDistance GLSL function that finds shape edge via binary search.

Parameters

shapeCall

string

rotateWithCamera

boolean

Returns

string