/** * R3.D3.Vertex * @param apiComponent * @constructor */ R3.D3.Vertex = function Vertex( apiComponent ) { __RUNTIME_COMPONENT__; __UPGRADE_TO_RUNTIME__; }; R3.D3.Vertex.prototype = Object.create(R3.Component.prototype); R3.D3.Vertex.prototype.constructor = R3.D3.Vertex; R3.D3.Vertex.prototype.createInstance = function() { __CREATE_INSTANCE__; }; R3.D3.Vertex.prototype.updateInstance = function(property) { if (property === 'position') { this.parent.updatePositions(); return; } if (property === 'normal') { this.parent.updateNormals(); return; } __UPDATE_INSTANCE__; };