Don't know about that. But you can use csSimpleRenderMesh instead

  csSimpleRenderMesh mesh;
  mesh.object2world.Identity();

  csVector3 verts[2];
  verts[0].Set (-1, 0, -1);
  verts[1].Set (1, 0, 1);

  mesh.vertices = verts;
  mesh.vertexCount = 2;
  mesh.meshtype = CS_MESHTYPE_LINES;
  g3d->DrawSimpleMesh (mesh, 0);

For example.

On Thursday 12 June 2008 04:57:58 Scott Johnson wrote:
> Hi Everyone:
>
> I'm working with csTriangleMeshes, and I am just trying to find the
> correct way to draw a mesh once it's been developed.  So, I was just
> wondering if there is a simple snippet of code someone might be able to
> give me that will draw a csTriangleMesh.
>
> Thanks,
>
> ~Scott
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Crystal-main mailing list
> Crystal-main@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/crystal-main
> Unsubscribe:
> mailto:[EMAIL PROTECTED]



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Crystal-main mailing list
Crystal-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to