ModelHandle/source/model/meshinstanceid.js
2021-10-24 18:08:50 +02:00

14 lines
255 B
JavaScript

OV.MeshInstanceId = class
{
constructor (nodeId, meshIndex)
{
this.nodeId = nodeId;
this.meshIndex = meshIndex;
}
IsEqual (rhs)
{
return this.nodeId === rhs.nodeId && this.meshIndex === rhs.meshIndex;
}
};