Skip to content

Commit b957ca7

Browse files
author
kevyuu
committed
Small impovement on Icosphere index_t
1 parent e29bbf9 commit b957ca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nbl/asset/utils/CGeometryCreator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ core::smart_refctd_ptr<ICPUPolygonGeometry> CGeometryCreator::createDisk(const f
889889
class Icosphere
890890
{
891891
public:
892-
using index_t = unsigned int;
892+
using index_t = uint32_t;
893893

894894
Icosphere(float radius = 1.0f, int subdivision = 1, bool smooth = false) : radius(radius), subdivision(subdivision), smooth(smooth)
895895
{

0 commit comments

Comments
 (0)