Modify mjCMesh vert_ field to be vector<float> instead of vector<double>.
PiperOrigin-RevId: 882162404 Change-Id: Ia97439420f284d594f5cb1a91cd0fb640ac8dff0
This commit is contained in:
committed by
Copybara-Service
parent
de3b9d3426
commit
3601b063dc
@@ -1185,7 +1185,7 @@ bool mjCFlexcomp::MakeMesh(mjCModel* model, mjsCompiler* compiler, char* error,
|
||||
}
|
||||
|
||||
// copy vertices
|
||||
point = mesh.Vert();
|
||||
point.assign(mesh.Vert().begin(), mesh.Vert().end());
|
||||
|
||||
if (mesh.HasTexcoord()) {
|
||||
texcoord = mesh.Texcoord();
|
||||
|
||||
Reference in New Issue
Block a user