r3-legacy/bak/r3-api-controls-d3-editor.js

28 lines
611 B
JavaScript

/**
* R3.API.Controls.D3.Editor
* @param apiComponent
* @constructor
*/
R3.API.Controls.D3.Editor = function(
apiComponent
) {
R3.API.Controls.D3.call(
this,
apiComponent
);
if (R3.Utils.UndefinedOrNull(apiComponent.raycaster)) {
apiComponent.raycaster = new R3.D3.API.Raycaster(
{
parent : this
}
);
}
this.raycaster = apiComponent.raycaster;
};
R3.API.Controls.D3.Editor.prototype = Object.create(R3.API.Controls.D3.prototype);
R3.API.Controls.D3.Editor.prototype.constructor = R3.API.Controls.D3.Editor;