protected override void BuildMesh(GeoObject o, Del3D meshBuilder, params object[] oparams) { if (meshBuilder != null) { o.Mesh = meshBuilder(oparams); } }
public VBOGeoObject BuildVBOGeoObject(Del3D meshBuilder, params object[] oparams) { VBOGeoObject o = CreateVBOGeoObject(); BuildMesh(o, meshBuilder, oparams); o.CreateVertexArray(); AddMaterial(o); m_geoObjectList.Add(o); return o; }
protected abstract void BuildMesh(GeoObject o, Del3D meshBuilder, params object[] oparams);