UNPKG

@polygonjs/polygonjs

Version:

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

23 lines (22 loc) 575 B
"use strict"; import { CorePrimitive } from "../../entities/primitive/CorePrimitive"; export class SDFPrimitive extends CorePrimitive { // public override _geometry?: QuadGeometryWithPrimitiveAttributes; constructor(object, index) { super(object, index); } geometry() { return this._object.geometry; } static entitiesCount(object) { return 0; } position(target) { console.warn("SDFPrimitive.position not implemented"); return target; } normal(target) { console.warn("SDFPrimitive.normal not implemented"); return target; } }