function getWireframeVersion( geometry ) {

	return ( geometry.index !== null ) ? geometry.index.version : geometry.attributes.position.version;

}
Returns the wireframe version for the given geometry.

@private
@function
@param {BufferGeometry} geometry - The geometry.
@return {number} The version.