/** * R3.D3.API.Geometry.Normal.Polyhedron * @param apiGeometryNormal * @param vertices * @param indices * @param radius * @param detail * @constructor */ R3.D3.API.Geometry.Normal.Polyhedron = function( apiGeometryNormal, vertices, indices, radius, detail ) { __API_GEOMETRY_NORMAL_MACRO__ if (R3.Utils.UndefinedOrNull(vertices)) { vertices = []; } this.vertices = vertices; if (R3.Utils.UndefinedOrNull(indices)) { indices = 1; } this.indices = indices; if (R3.Utils.UndefinedOrNull(radius)) { radius = 5; } this.radius = radius; if (R3.Utils.UndefinedOrNull(detail)) { detail = 0; } this.detail = detail; }; R3.D3.API.Geometry.Normal.Polyhedron.prototype = Object.create(R3.D3.API.Geometry.Normal.prototype); R3.D3.API.Geometry.Normal.Polyhedron.prototype.constructor = R3.D3.API.Geometry.Normal.Polyhedron;