r3-legacy/src/r3-api-curve-0.js

21 lines
435 B
JavaScript

/**
* R3.API.Curve
* @param apiComponent
* @constructor
*/
R3.API.Curve = function(
apiComponent
) {
__API_COMPONENT__;
if (R3.Utils.UndefinedOrNull(apiComponent.arcLenghDivisions)) {
apiComponent.arcLenghDivisions = 200;
}
this.arcLenghDivisions = apiComponent.arcLenghDivisions;
};
R3.API.Curve.prototype = Object.create(R3.API.Curve.prototype);
R3.API.Curve.prototype.constructor = R3.API.Curve;