public void copyFromGeometry3D(Geometry3D geom){
  this.mNumIndices=geom.getNumIndices();
  this.mNumVertices=geom.getNumVertices();
  this.mVertexBufferInfo=geom.getVertexBufferInfo();
  this.mIndexBufferInfo=geom.getIndexBufferInfo();
  this.mTexCoordBufferInfo=geom.getTexCoordBufferInfo();
  this.mOnlyShortBufferSupported=geom.areOnlyShortBuffersSupported();
  if (mColors == null)   this.mColorBufferInfo=geom.getColorBufferInfo();
  this.mNormalBufferInfo=geom.getNormalBufferInfo();
  this.mOriginalGeometry=geom;
  this.mHasNormals=geom.hasNormals();
  this.mHasTextureCoordinates=geom.hasTextureCoordinates();
}

public void copyFromGeometry3D ( Geometry3D geom ) { this . mNumIndices = geom . getNumIndices ( ) ; this . mNumVertices = geom . getNumVertices ( ) ; this . mVertexBufferInfo = geom . getVertexBufferInfo ( ) ; this . mIndexBufferInfo = geom . getIndexBufferInfo ( ) ; this . mTexCoordBufferInfo = geom . getTexCoordBufferInfo ( ) ; this . mOnlyShortBufferSupported = geom . areOnlyShortBuffersSupported ( ) ; if ( mColors == null ) this . mColorBufferInfo = geom . getColorBufferInfo ( ) ; this . mNormalBufferInfo = geom . getNormalBufferInfo ( ) ; this . mOriginalGeometry = geom ; this . mHasNormals = geom . hasNormals ( ) ; this . mHasTextureCoordinates = geom . hasTextureCoordinates ( ) ; }
copies another geometry3d ' s bufferinfo objects . this means that it doesn ' t copy or clone the actual data . it will just use the pointers to the other geometry3d ' s buffers .
