/** * API Vertex * @param position GameLib.API.Vector3 * @param boneWeights GameLib.API.BoneWeight[] * @constructor */ GameLib.D3.API.Vertex = function( position, boneWeights ) { if (GameLib.Utils.UndefinedOrNull(position)) { position = new GameLib.API.Vector3(); } this.position = position; if (GameLib.Utils.UndefinedOrNull(boneWeights)) { boneWeights = []; } this.boneWeights = boneWeights; };