@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
13 lines (12 loc) • 364 B
JavaScript
;
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);
}
}