We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 074248e commit 014e2cbCopy full SHA for 014e2cb
src/type/p5.Font.js
@@ -630,7 +630,7 @@ export class Font {
630
// Check if the cross product of edge vectors has sufficient magnitude
631
const edgeVector = new Vector(vB.x - vA.x, vB.y - vA.y, vB.z - vA.z);
632
const extrudeVector = new Vector(0, 0, extrude);
633
- const crossProduct = p5.Vector.cross(edgeVector, extrudeVector);
+ const crossProduct = Vector.cross(edgeVector, extrudeVector);
634
if (crossProduct.mag() < 0.0001) continue;
635
if (dist < 0.0001) continue;
636
// Front face vertices
0 commit comments