diff --git a/src/core/include/pw/core/mesh.hpp b/src/core/include/pw/core/mesh.hpp index 5fe6ea2..2bd5c93 100644 --- a/src/core/include/pw/core/mesh.hpp +++ b/src/core/include/pw/core/mesh.hpp @@ -43,7 +43,7 @@ public: points }; - using index_t = size_t; + using index_t = uint32_t; using valuearray_t = std::vector ; using indexarray_t = std::vector ; diff --git a/src/visual/src/pipeline.cpp b/src/visual/src/pipeline.cpp index 255effe..85c40ed 100644 --- a/src/visual/src/pipeline.cpp +++ b/src/visual/src/pipeline.cpp @@ -54,7 +54,7 @@ struct triangle_renderer const float s = 1.0f; -#if 1 +#if 0 geometry::vertex3array_t vertices = { { 0.0f, 0.5f, z_val} // 0 ,{ 0.5f, 0.0f, z_val} // 1