UNPKG

3d-grass-title

Version:

A customizable 3D grass-textured title web component using Lit + TypeScript + Three.js

17 lines (16 loc) 503 B
import { ExtrudeGeometry as f } from "three"; class h extends f { constructor(i, e = {}) { const n = e.font; if (n === void 0) super(); else { const d = n.generateShapes(i, e.size); e.depth = e.height !== void 0 ? e.height : 50, e.bevelThickness === void 0 && (e.bevelThickness = 10), e.bevelSize === void 0 && (e.bevelSize = 8), e.bevelEnabled === void 0 && (e.bevelEnabled = !1), super(d, e); } this.type = "TextGeometry"; } } export { h as TextGeometry };