MCPcopy Create free account
hub / github.com/DFin/palaeograph / setPointScaleFactor

Method setPointScaleFactor

src/sceneManager.js:861–867  ·  view source on GitHub ↗
(factor)

Source from the content-addressed store, hash-verified

859 }
860
861 setPointScaleFactor(factor) {
862 this.pointScaleFactor = Math.max(0, factor);
863 this.pointGroup.children.forEach((mesh) => {
864 const baseScale = mesh.userData?.baseScale ?? this.pointBaseScale;
865 mesh.scale.setScalar(baseScale * this.pointScaleFactor);
866 });
867 }
868
869 setLabelScaleFactor(factor) {
870 this.labelScaleFactor = Math.max(0, factor);

Callers 2

syncPointScaleControlsFunction · 0.80
main.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected