UNPKG

sunrize

Version:

Sunrize — A Multi-Platform X3D Editor

15 lines (11 loc) 360 B
const X3D = require ("../../X3D"); Object .assign (X3D .ArcClose2D .prototype, { toPrimitive (executionContext = this .getExecutionContext ()) { const geometry = this .toIndexedFaceSet (executionContext, { texCoord: true }); geometry ._metadata = this ._metadata; geometry ._solid = this ._solid; return geometry; }, });