Fix tessellation numbers in createCylinderMesh, createConeMesh, createArrowMesh
Double tessellation numbers for these 3 functions in your code to get same results as in Irrlicht 1.8 I noticed in last commit those all tessellated semi-circles instead of circles. I just documented it there, but it's annoying as that bug doesn't allow odd numbered tessellation. So for example one couldn't create a triangle pyramid. I considered adding another parameter to describe what this number means, but... just too ugly. And it was always documented otherwise, so this could be considered a bug. Sorry if this changes the look of existing apps. Also cleaned up code in CGeometryCreator::createCylinderMesh. No idea what the idea behind old code was. Aside from creating twice the tessellation numbers. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6581 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
--------------------------
|
||||
Changes in 1.9 (not yet released)
|
||||
|
||||
- createCylinderMesh and createConeMesh in GeometryCreator tessellation numbers now for full instead of semi-circle.
|
||||
Double your tessellation numbers to get same results as in 1.8
|
||||
Sorry had to break as old solution didn't allow for odd numbers. Also was documented otherwise, so was a bug.
|
||||
- Change in UV's for top/bottom center vertex in CGeometryCreator::createCylinderMesh
|
||||
- Add some default UV's in CGeometryCreator::createConeMesh
|
||||
- Bugfix: CTriangleSelector::getTriangles with bounding-box parameter no longer ignores an additionally passed matrix transformation in the box check
|
||||
|
Reference in New Issue
Block a user