Пример #1
0
 protected override void BuildMesh(GeoObject o, Del3D meshBuilder, params object[] oparams)
 {
     if (meshBuilder != null)
     {
         o.Mesh = meshBuilder(oparams);
     }
 }
Пример #2
0
 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;
 }
Пример #3
0
 protected abstract void BuildMesh(GeoObject o, Del3D meshBuilder, params object[] oparams);