Favivon - Correção

This commit is contained in:
2026-05-30 19:59:39 -03:00
parent 76ddaa815d
commit d7dfd221f0
32859 changed files with 5459654 additions and 404 deletions
+28
View File
@@ -0,0 +1,28 @@
"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const THREE = require("three");
class TextGeometry extends THREE.ExtrudeGeometry {
constructor(text, parameters = {}) {
const {
bevelEnabled = false,
bevelSize = 8,
bevelThickness = 10,
font,
height = 50,
size = 100,
lineHeight = 1,
letterSpacing = 0,
...rest
} = parameters;
if (font === void 0) {
super();
} else {
const shapes = font.generateShapes(text, size, { lineHeight, letterSpacing });
super(shapes, { ...rest, bevelEnabled, bevelSize, bevelThickness, depth: height });
}
this.type = "TextGeometry";
}
}
exports.TextBufferGeometry = TextGeometry;
exports.TextGeometry = TextGeometry;
//# sourceMappingURL=TextGeometry.cjs.map