mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-04 09:10:27 +02:00
Add default UV's for CGeometryCreator::createConeMesh
Thanks @randomMesh for reporting that they were missing: https://irrlicht.sourceforge.io/forum/viewtopic.php?p=307308 Also simplified that code a bit (same could probably also be done for createCylinderMesh, but too lazy right now) Changed also UV's for top/bottom center vertex in CGeometryCreator::createCylinderMesh to use center for X (slight improvement, but would have to copy vertices to make it better) git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6580 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
@ -135,8 +135,8 @@ public:
|
||||
|
||||
//! Create an arrow mesh, composed of a cylinder and a cone.
|
||||
/**
|
||||
\param tessellationCylinder Number of quads composing the cylinder.
|
||||
\param tessellationCone Number of triangles composing the cone's roof.
|
||||
\param tessellationCylinder Number of quads composing half the cylinder.
|
||||
\param tessellationCone Number of triangles composing half the cone's roof.
|
||||
\param height Total height of the arrow
|
||||
\param cylinderHeight Total height of the cylinder, should be lesser
|
||||
than total height
|
||||
@ -168,7 +168,7 @@ public:
|
||||
/**
|
||||
\param radius Radius of the cylinder.
|
||||
\param length Length of the cylinder.
|
||||
\param tessellation Number of quads around the circumference of the cylinder.
|
||||
\param tessellation Number of quads around half the circumference of the cylinder.
|
||||
\param color The color of the cylinder.
|
||||
\param closeTop If true, close the ends of the cylinder, otherwise leave them open.
|
||||
\param oblique X-offset (shear) of top compared to bottom.
|
||||
@ -191,7 +191,7 @@ public:
|
||||
/**
|
||||
\param radius Radius of the cone.
|
||||
\param length Length of the cone.
|
||||
\param tessellation Number of quads around the circumference of the cone.
|
||||
\param tessellation Number of triangles around half the circumference of the cone.
|
||||
\param colorTop The color of the top of the cone.
|
||||
\param colorBottom The color of the bottom of the cone.
|
||||
\param oblique (to be documented)
|
||||
|
Reference in New Issue
Block a user