UNPKG

@polygonjs/polygonjs

Version:

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

22 lines (21 loc) 505 B
"use strict"; import { CorePrimitive } from "../../entities/primitive/CorePrimitive"; export class CadPrimitive extends CorePrimitive { constructor(object, index) { super(object, index); } static entitiesCount(object) { return 0; } geometry() { return this._object.geometry; } position(target) { console.warn("CadPrimitive.position not implemented"); return target; } normal(target) { console.warn("CadPrimitive.normal not implemented"); return target; } }