@giro3d/giro3d
Version:
A JS/WebGL framework for 3D geospatial data visualization
21 lines (19 loc) • 428 B
JavaScript
/*
* Copyright (c) 2015-2018, IGN France.
* Copyright (c) 2018-2026, Giro3D team.
* SPDX-License-Identifier: MIT
*/
/**
* Trait for objects that have a unique owner.
*/
/**
* Creates an {@link UniqueOwner} object with the specified owner and payload.
* @param object - The owned payload.
* @param owner - The owner.
*/
export function intoUniqueOwner(object, owner) {
return {
payload: object,
owner
};
}