molstar
Version:
A comprehensive macromolecular library.
17 lines (16 loc) • 588 B
JavaScript
;
/**
* Copyright (c) 2018-2025 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author Alexander Rose <alexander.rose@weirdbyte.de>
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.PickingId = void 0;
var PickingId;
(function (PickingId) {
PickingId.Null = 16777214; // Math.pow(2, 24) - 2
function areSame(a, b) {
return a.objectId === b.objectId && a.instanceId === b.instanceId && a.groupId === b.groupId;
}
PickingId.areSame = areSame;
})(PickingId || (exports.PickingId = PickingId = {}));