Merge pull request #2390 from talregev:TalR/mesh

PiperOrigin-RevId: 723916727
Change-Id: I0abb0a12121c9eb291ccbc6afa0b4117bd389956
This commit is contained in:
Copybara-Service
2025-02-06 06:46:40 -08:00
2 changed files with 6 additions and 3 deletions
+1 -2
View File
@@ -62,7 +62,6 @@
#include "user/user_objects.h"
#include "user/user_resource.h"
#include "user/user_util.h"
#include <tiny_obj_loader.h>
extern "C" {
#include "qhull_ra.h"
@@ -395,7 +394,7 @@ void mjCMesh::CacheMesh(mjCCache* cache, const mjResource* resource,
+ (sizeof(int) * vertex_index_.size())
+ (sizeof(int) * normal_index_.size())
+ (sizeof(int) * texcoord_index_.size())
+ (sizeof(unsigned char) * num_face_vertices_.size());
+ (sizeof(face_vertices_type) * num_face_vertices_.size());
std::shared_ptr<const void> cached_data(mesh, +[](const void* data) {
const mjCMesh* mesh = static_cast<const mjCMesh*>(data);