holocronweaver / ogre-procedural-old

Automatically exported from code.google.com/p/ogre-procedural
0 stars 0 forks source link

setPosition and setOrientation not taken into account in triangulator #116

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The following code

  Procedural::Shape pb=Procedural::Shape().addPoint(0,0).addPoint(100,0).addPoint(100,300).addPoint(0,200);
      pb.setOutSide(Procedural::SIDE_LEFT);
      pb.close();
      Procedural::Triangulator().setShapeToTriangulate(&pb).setPosition(100,200,200).setOrientation(Ogre::Quaternion(Ogre::Degree(90), Ogre::Vector3::UNIT_X)).realizeMesh("trishape");
      putMesh2("trishape");

does not shift the result mesh..

Original issue reported on code.google.com by michael.broutin@gmail.com on 12 May 2012 at 6:55

GoogleCodeExporter commented 9 years ago

Original comment by michael.broutin@gmail.com on 27 May 2012 at 8:18