r3-legacy/src/r3-d3-api-geometry-normal-w...

24 lines
564 B
JavaScript
Raw Normal View History

2018-04-09 09:35:04 +02:00
/**
* R3.D3.API.Geometry.Normal.Wireframe
2019-10-06 21:11:18 +02:00
* @param apiComponent
*
* @property geometry
*
2018-04-09 09:35:04 +02:00
* @constructor
*/
R3.D3.API.Geometry.Normal.Wireframe = function(
2019-10-06 21:11:18 +02:00
apiComponent
2018-04-09 09:35:04 +02:00
) {
2019-10-06 21:11:18 +02:00
__API_GEOMETRY_NORMAL__;
2018-04-09 09:35:04 +02:00
2019-10-06 21:11:18 +02:00
if (R3.Utils.UndefinedOrNull(apiComponent.geometry)) {
apiComponent.geometry = null;
2018-04-09 09:35:04 +02:00
}
2019-10-06 21:11:18 +02:00
this.geometry = apiComponent.geometry;
2018-04-09 09:35:04 +02:00
};
R3.D3.API.Geometry.Normal.Wireframe.prototype = Object.create(R3.D3.API.Geometry.Normal.prototype);
R3.D3.API.Geometry.Normal.Wireframe.prototype.constructor = R3.D3.API.Geometry.Normal.Wireframe;