From a02d8e4d7d5115e1fda0cfb16da5dbe5674213e2 Mon Sep 17 00:00:00 2001 From: Roz K Date: Fri, 6 Jan 2023 18:15:19 +0100 Subject: [PATCH] Fix unsigned packed vertex format. --- cpp/render/vertex_format_opengles.hpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/cpp/render/vertex_format_opengles.hpp b/cpp/render/vertex_format_opengles.hpp index bcf8dce..5656522 100644 --- a/cpp/render/vertex_format_opengles.hpp +++ b/cpp/render/vertex_format_opengles.hpp @@ -216,15 +216,15 @@ struct rk_format { } // namepace rk_vertex -typedef rk_vertex::rk_format rk_vec3_float; -typedef rk_vertex::rk_format rk_vec3_short; -typedef rk_vertex::rk_format rk_vec3_short_norm; -typedef rk_vertex::rk_format, rk_float, 3, 1, true, false> rk_vec3_int10; -typedef rk_vertex::rk_format, rk_float, 3, 1, true, true> rk_vec3_int10_norm; -typedef rk_vertex::rk_format, rk_float, 3, 1, true, false> rk_vec3_uint10; -typedef rk_vertex::rk_format, rk_float, 3, 1, true, true> rk_vec3_uint10_norm; -typedef rk_vertex::rk_format rk_mat3_float; -typedef rk_vertex::rk_format, rk_float, 3, 3, true, false> rk_mat3_int10; -typedef rk_vertex::rk_format, rk_float, 3, 3, true, true> rk_mat3_int10_norm; +typedef rk_vertex::rk_format rk_vec3_float; +typedef rk_vertex::rk_format rk_vec3_short; +typedef rk_vertex::rk_format rk_vec3_short_norm; +typedef rk_vertex::rk_format, rk_float, 3, 1, true, false> rk_vec3_int10; +typedef rk_vertex::rk_format, rk_float, 3, 1, true, true> rk_vec3_int10_norm; +typedef rk_vertex::rk_format, rk_float, 3, 1, false, false> rk_vec3_uint10; +typedef rk_vertex::rk_format, rk_float, 3, 1, false, true> rk_vec3_uint10_norm; +typedef rk_vertex::rk_format rk_mat3_float; +typedef rk_vertex::rk_format, rk_float, 3, 3, true, false> rk_mat3_int10; +typedef rk_vertex::rk_format, rk_float, 3, 3, true, true> rk_mat3_int10_norm; #endif // RK_ENGINE_VERTEX_FORMAT_H