src/worker/messages/ConfigurationMessage.js
import { HermiteData } from "../../volume/HermiteData";
import { Action } from "../Action";
import { Message } from "./Message";
/**
 * A configuration message.
 */
export class ConfigurationMessage extends Message {
	/**
	 * Constructs a new configuration message.
	 */
	constructor() {
		super(Action.CONFIGURE);
		/**
		 * The global grid resolution of the Hermite data chunks.
		 *
		 * @type {Number}
		 */
		this.resolution = HermiteData.resolution;
		/**
		 * An error threshold for QEF-based mesh simplification.
		 *
		 * @type {Number}
		 */
		this.errorThreshold = 1e-2;
	}
}