UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

13 lines (12 loc) 364 B
"use strict"; import { CadPrimitive } from "./CadPrimitive"; import { cadCompoundSubObjectsCount } from "./toObject3D/CadCompound"; export class CadPrimitiveCompound extends CadPrimitive { static primitiveName() { return "compound"; } static entitiesCount(object) { const cadOobject = object; return cadCompoundSubObjectsCount(cadOobject); } }